fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of stigma.nowoczesnapolska.org.pl:platforma
[redakcja.git]
/
apps
/
toolbar
/
fixtures
/
przyciski.xml
diff --git
a/apps/toolbar/fixtures/przyciski.xml
b/apps/toolbar/fixtures/przyciski.xml
index
737ef31
..
8dc5f27
100755
(executable)
--- a/
apps/toolbar/fixtures/przyciski.xml
+++ b/
apps/toolbar/fixtures/przyciski.xml
@@
-1023,6
+1023,7
@@
for (var attr in params.attrs) {
start_tag += '>';
var end_tag = '</'+params.tag+'>';
start_tag += '>';
var end_tag = '</'+params.tag+'>';
+if(text.length > 0) {
// tokenize
var output = ''
var token = ''
// tokenize
var output = ''
var token = ''
@@
-1044,8
+1045,11
@@
if( output[output.length-1] == '\\' ) {
} else {
output += end_tag;
}
} else {
output += end_tag;
}
-
output += token;
output += token;
+}
+else {
+ output = start_tag + end_tag;
+}
texteditor.replaceSelection(output);
texteditor.replaceSelection(output);