From f9e9ac558ac5bd7c837f4b121a2993f797cd2b3e Mon Sep 17 00:00:00 2001 From: Daniel Schierbeck Date: Fri, 15 Jun 2012 11:27:44 +0300 Subject: [PATCH] Correct some typos --- parser_rules/advanced.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/parser_rules/advanced.js b/parser_rules/advanced.js index 7bd7f085..2e8178b8 100644 --- a/parser_rules/advanced.js +++ b/parser_rules/advanced.js @@ -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: * @@ -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, @@ -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-*") -

foo

... becomes ...

class="wysiwyg-text-align-center">foo

+ *

foo

... becomes ...

class="wysiwyg-text-align-center">foo

* - clear_br: converts clear attribute values left/right/all/both to their corresponding css class "wysiwyg-clear-*" *
... becomes ...
* - align_img: converts align attribute values (right/left) on 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 *