iphone - Html Tag doesn't get render properly in UIWebView -


i loading html string in uiwebview. working fine when tried load html containing <&reg > tag webview doesn't render properly. example if have "capital one® secured" not rendering tag ® simplay display on webview. appreciated.

you not need enclose &reg in tag marks. instead, should use &reg; want registered trademark symbol.

e.g.

nsstring *htmlstring = @"<p>capital one&reg; secured</p>"; [webview loadhtmlstring:htmlstring baseurl:nil]; 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -