Fix extraneous NULL character on HTML export

Fix #2801
This commit is contained in:
George Marques 2016-10-20 21:11:13 -02:00
parent c23e8797f1
commit 604ddd691c
No known key found for this signature in database
GPG Key ID: 046BD46A3201E43D

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];
}
}