-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Oliver Pulges
committed
Jan 28, 2014
1 parent
e3d9aa4
commit 412e1c6
Showing
4 changed files
with
2,481 additions
and
2,178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module Wysihtml5x | ||
module Rails | ||
VERSION = "0.4.0" | ||
VERSION = "0.4.1" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -171,6 +171,7 @@ var wysihtml5ParserRules = { | |
* - href: allows something like "mailto:[email protected]", "http://google.com", "/foobar.jpg" | ||
* - alt: strips unwanted characters. if the attribute is not set, then it gets set (to ensure valid and compatible HTML) | ||
* - numbers: ensures that the attribute only contains numeric characters | ||
* - any: allows anything to pass | ||
*/ | ||
"tags": { | ||
"tr": { | ||
|
@@ -323,7 +324,9 @@ var wysihtml5ParserRules = { | |
"td": { | ||
"check_attributes": { | ||
"rowspan": "numbers", | ||
"colspan": "numbers" | ||
"colspan": "numbers", | ||
"valign": "any", | ||
"align": "any" | ||
}, | ||
"add_class": { | ||
"align": "align_text" | ||
|
@@ -646,4 +649,4 @@ var wysihtml5ParserRules = { | |
"rename_tag": "div" | ||
} | ||
} | ||
}; | ||
}; |
Oops, something went wrong.