Merge pull request #6884 from vnen/html-export-char
Fix extraneous NULL character on HTML export
This commit is contained in:
commit
24337f9c5e
1 changed files with 2 additions and 2 deletions
|
@ -195,8 +195,8 @@ void EditorExportPlatformJavaScript::_fix_html(Vector<uint8_t>& p_html, const St
|
||||||
}
|
}
|
||||||
|
|
||||||
CharString cs = strnew.utf8();
|
CharString cs = strnew.utf8();
|
||||||
p_html.resize(cs.size());
|
p_html.resize(cs.length());
|
||||||
for(int i=9;i<cs.size();i++) {
|
for(int i=9;i<cs.length();i++) {
|
||||||
p_html[i]=cs[i];
|
p_html[i]=cs[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue