mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-15 07:22:49 +03:00
Fix hex color string parsing.
UIMarkdownView now uses the HTMLFormatter::HTMLtoXML. Removed formatting hack to force strict XML from HTML, now we should always use HTMLFormatter::HTMLtoXML.
This commit is contained in:
@@ -1118,7 +1118,7 @@ UTEST( UIHTMLBody, maxWidthResizingBug ) {
|
||||
|
||||
std::string htmlContent;
|
||||
FileSystem::fileGet( "assets/html/dwarmstrong/dwarmstrong.html", htmlContent );
|
||||
sceneNode->loadLayoutFromString( htmlContent );
|
||||
sceneNode->loadLayoutFromString( HTMLFormatter::HTMLtoXML( htmlContent ) );
|
||||
|
||||
sceneNode->getRoot()->setSize( 1024, 768 );
|
||||
sceneNode->updateDirtyLayouts();
|
||||
|
||||
Reference in New Issue
Block a user