fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
editor: minor refactoring
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentCanvas
/
canvas
/
wlxmlManagers.js
diff --git
a/src/editor/modules/documentCanvas/canvas/wlxmlManagers.js
b/src/editor/modules/documentCanvas/canvas/wlxmlManagers.js
index
c643a88
..
27b4605
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/wlxmlManagers.js
+++ b/
src/editor/modules/documentCanvas/canvas/wlxmlManagers.js
@@
-50,7
+50,7
@@
var getDisplayStyle = function(tag, klass) {
if(tag === 'span') {
return 'inline';
}
- if(klass === 'item') {
+ if(klass
&& klass.substr(0, 4)
=== 'item') {
return null;
}
return 'block';