[Title] Fix for error page text break
[Issue#] P130425-7080
[Problem] Error page text after "Web page not available" breaks at any character
[Cause] It is due to <p> before error text tag having style attribute set to word-break:break-all
[Solution] Remmove style attribute from <p> tag and apply it to the <a> tag for link present in error text
[Developer] Praveen (praveen.ks@samsung.com)
}
#endif
- String urlLink = String::format("<a href=%s>%s</a>", static_cast<const char*>(error->url), static_cast<const char*>(error->url));
+ String urlLink = String::format("<a style=word-break:break-all href=%s>%s</a>", static_cast<const char*>(error->url), static_cast<const char*>(error->url));
char errorMessage[1280] = {0x00, };
#if ENABLE(TIZEN_WEBKIT2_TEXT_TRANSLATION)
<div id=errorMsg>
<script type='text/javascript'>
<!--errorMessage-->
-document.write("<p style=word-break:break-all>%errorMessage%</p>");
+document.write("<p>%errorMessage%</p>");
<!--errorCause-->
document.write("<p><ul><li><strong>%errorCause%</strong></ul></br>");
<!--errorSuggestions-->