[ 
http://jira.xwiki.org/jira/browse/XWIKI-2100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergiu Dumitriu updated XWIKI-2100:
-----------------------------------

        Summary: Wiki rendered syntax simplification part 1: emphasizing markup 
 (was: Wiki rendered syntax simplification)
          Tests: [Unit]
    Description: 
Currently, we're using too many class attributes for the generated markup from 
the wiki syntax, and we're doing this in a bad manner. For example:
- p class="paragraph"
- h2 class="heading-1"
- strong class="strong"
- del class="strike"

The class attribute should only be used with semantics in mind, and saying that 
all p-s are paragraphs, and all strong-s are strong, this adds no semantics 
whatsoever, but does increase the size of the transfered files (and the page 
loading time), the rendering time, the cache size and the size and complexity 
of the CSS files.

The first part is to solve the emphasizing markup:
{noformat}
- *text* => <strong>text</strong>
- ~~text~~ => <em>text</em>
- --text-- => <del>text</del>
- __text__ => <em class="underline">text</em>

  was:
Currently, we're using too many class attributes for the generated markup from 
the wiki syntax, and we're doing this in a bad manner. For example:
- p class="paragraph"
- h2 class="heading-1"
- strong class="strong"
- del class="strike"

The class attribute should only be used with semantics in mind, and saying that 
all p-s are paragraphs, and all strong-s are strong, this adds no semantics 
whatsoever, but does increase the size of the transfered files (and the page 
loading time), the rendering time, the cache size and the size and complexity 
of the CSS files.


> Wiki rendered syntax simplification part 1: emphasizing markup
> --------------------------------------------------------------
>
>                 Key: XWIKI-2100
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-2100
>             Project: XWiki Core
>          Issue Type: Improvement
>          Components: Wiki features
>    Affects Versions: 1.3 M1
>            Reporter: Sergiu Dumitriu
>         Assigned To: Sergiu Dumitriu
>            Priority: Minor
>             Fix For: 1.3 RC1
>
>
> Currently, we're using too many class attributes for the generated markup 
> from the wiki syntax, and we're doing this in a bad manner. For example:
> - p class="paragraph"
> - h2 class="heading-1"
> - strong class="strong"
> - del class="strike"
> The class attribute should only be used with semantics in mind, and saying 
> that all p-s are paragraphs, and all strong-s are strong, this adds no 
> semantics whatsoever, but does increase the size of the transfered files (and 
> the page loading time), the rendering time, the cache size and the size and 
> complexity of the CSS files.
> The first part is to solve the emphasizing markup:
> {noformat}
> - *text* => <strong>text</strong>
> - ~~text~~ => <em>text</em>
> - --text-- => <del>text</del>
> - __text__ => <em class="underline">text</em>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
notifications@xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to