Skip to content

Commit

Permalink
Correct some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dasch committed Jun 15, 2012
1 parent 66bcc4c commit f9e9ac5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions parser_rules/advanced.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Full HTML5 compatibility rule set
* These rules define which tags and css classes are supported and which tags should be specially treated.
* These rules define which tags and CSS classes are supported and which tags should be specially treated.
*
* Examples based on this rule set:
*
Expand Down Expand Up @@ -35,7 +35,7 @@
var wysihtml5ParserRules = {
/**
* CSS Class white-list
* Following css classes won't be removed when parsed by the wysihtml5 html parser
* Following CSS classes won't be removed when parsed by the wysihtml5 HTML parser
*/
"classes": {
"wysiwyg-clear-both": 1,
Expand Down Expand Up @@ -76,17 +76,17 @@ var wysihtml5ParserRules = {
/**
* Tag list
*
* Following options are available:
* The following options are available:
*
* - add_class: converts and deletes the given HTML4 attribute (align, clear, ...) via the given method to a css class
* The following methods are implemented in wysihtml5.dom.parse:
* - align_text: converts align attribute values (right/left/center/justify) to their corresponding css class "wysiwyg-text-align-*")
<p align="center">foo</p> ... becomes ... <p> class="wysiwyg-text-align-center">foo</p>
* <p align="center">foo</p> ... becomes ... <p> class="wysiwyg-text-align-center">foo</p>
* - clear_br: converts clear attribute values left/right/all/both to their corresponding css class "wysiwyg-clear-*"
* <br clear="all"> ... becomes ... <br class="wysiwyg-clear-both">
* - align_img: converts align attribute values (right/left) on <img> to their corresponding css class "wysiwyg-float-*"
*
* - remove: removes the element and it's content
* - remove: removes the element and its content
*
* - rename_tag: renames the element to the given tag
*
Expand Down

0 comments on commit f9e9ac5

Please sign in to comment.