Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Pulges committed Oct 28, 2015
1 parent b83d204 commit be66c69
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 19 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.textile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
*wysihtml5x 0.5.0* (October 29, 2015)
*wysihtml5x 0.5.1* (October 28, 2015)
* Fixes parser adding empty class attributes to tags

*wysihtml5x 0.5.0* (October 27, 2015)
* Fixes Microsoft Edge pasting plaintext problem
* Fixes Microsoft Edge BR with class null entered with enter keypress
* .getValue() and .setValue() commands parse content as default (parameter must be set false to bypass cleanup)
Expand Down
8 changes: 5 additions & 3 deletions dist/wysihtml-toolbar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license wysihtml v0.5.0
* @license wysihtml v0.5.1
* https://github.com/Voog/wysihtml
*
* Author: Christopher Blum (https://github.com/tiff)
Expand All @@ -10,7 +10,7 @@
*
*/
var wysihtml5 = {
version: "0.5.0",
version: "0.5.1",

// namespaces
commands: {},
Expand Down Expand Up @@ -9164,7 +9164,9 @@ wysihtml5.dom.parse = function(elementOrHtml_current, config_current) {
attributes["class"] = oldNode.getAttribute("class");
}
} else {
attributes["class"] = wysihtml5.lang.array(classes).unique().join(" ");
if(classes && classes.length > 0) {
attributes["class"] = wysihtml5.lang.array(classes).unique().join(" ");
}
}
} else {
// make sure that wysihtml5 temp class doesn't get stripped out
Expand Down
8 changes: 4 additions & 4 deletions dist/wysihtml-toolbar.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/wysihtml-toolbar.min.map

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions dist/wysihtml.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license wysihtml v0.5.0
* @license wysihtml v0.5.1
* https://github.com/Voog/wysihtml
*
* Author: Christopher Blum (https://github.com/tiff)
Expand All @@ -10,7 +10,7 @@
*
*/
var wysihtml5 = {
version: "0.5.0",
version: "0.5.1",

// namespaces
commands: {},
Expand Down Expand Up @@ -9164,7 +9164,9 @@ wysihtml5.dom.parse = function(elementOrHtml_current, config_current) {
attributes["class"] = oldNode.getAttribute("class");
}
} else {
attributes["class"] = wysihtml5.lang.array(classes).unique().join(" ");
if(classes && classes.length > 0) {
attributes["class"] = wysihtml5.lang.array(classes).unique().join(" ");
}
}
} else {
// make sure that wysihtml5 temp class doesn't get stripped out
Expand Down
8 changes: 4 additions & 4 deletions dist/wysihtml.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/wysihtml.min.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wysihtml",
"version": "0.5.0",
"version": "0.5.1",
"devDependencies": {
"grunt": "~0.4.4",
"grunt-cli": "^0.1.13",
Expand All @@ -16,7 +16,7 @@
"dependencies": {
"rangy": "^1.3.0"
},
"description": "h1. wysihtml 0.5.0",
"description": "h1. wysihtml 0.5.1",
"main": "Gruntfile.js",
"directories": {
"example": "examples",
Expand Down

0 comments on commit be66c69

Please sign in to comment.