Merge pull request #6884 from vnen/html-export-char

Fix extraneous NULL character on HTML export
This commit is contained in:
Rémi Verschelde 2016-10-22 13:09:54 +02:00 committed by GitHub
commit 24337f9c5e
1 changed files with 2 additions and 2 deletions

View File

@ -195,8 +195,8 @@ void EditorExportPlatformJavaScript::_fix_html(Vector<uint8_t>& p_html, const St
}
CharString cs = strnew.utf8();
p_html.resize(cs.size());
for(int i=9;i<cs.size();i++) {
p_html.resize(cs.length());
for(int i=9;i<cs.length();i++) {
p_html[i]=cs[i];
}
}