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? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -