Skip to main content

htmlspecialchars() bug in blogger.com

Found a strange htmlspecialchars() bug in blogger.com

The title of my blog is <?php echo 'R. Rajesh Jeba Anbiah'; ?>, but blogger.com doesn't convert the html entities in the title when it spits out. Because of this bug, the title doesn't appear in my blog--browser just treats it as a broken html tag. This bug could have been fixed by using
htmlspecialchars(), if it's powered by PHP.

Also, noticed that this compose box eats any texts entered such.

I gonna report this bug.

Comments

R. Rajesh Jeba Anbiah said…
Yes, lawrence krubner. They may be stripping html tags. But, the compose box is really buggy. If you switch between "Edit HTML", "Compose" and "Preview", sometimes some of your texts will vanish suddenly.

This htmlspecialchars() bug appears only in blog tittle/header; in all other places they're converting it to proper html entities.

Popular posts from this blog

Nisaptham Trust - Address and PAN for 80G

Today (July 31st) is the last day for filing income tax returns. Donations to charity and political parties are exempted for tax under Indian income tax clause 80G . When it comes to donations, World Vision India used to be my choice because of their professionalism and prompt communications. Of late, having heavily impressed by Nisaptham Blogger 's writings about his charity work, I thought of sending meager amount to his charity Nisaptham Trust. Unfortunately, when I sent that in March, it was not a pleasant experience. I had to randomly follow him through email and WhatsApp to get PAN of Nisaptham Trust; he shared that PAN details after 3-months. When I try filing returns yesterday, it was another shock; apart from PAN, I also need to furnish the charity address. I quickly searched through Google and there were no results about the address; I can only find its bank account details. Google's autocomplete suggestions hinted the possibility of such queries by others thou...

Solved: Safari Flash full screen issue

Some common problems when trying to use Flash video embed code (e.g., YouTube like embed code) 1. When using lightbox on the page, it's getting hidden behind the Flash video player Solution: Add wmode="transparent" to the embed tag 2. On IE7, getting "click to activate" Solution: Inject the embed code through JavaScript. (Useful libraries: jQuery Flash Plugin , SWFObject ) 3. XHTML validation issue Solution: Use unobtrusive JavaScript embedding. (Useful libraries: jQuery Flash Plugin , SWFObject ) 4. On Safari the full screen doesn't work -- even if we add allowfullscreen="true" (this is the issue I faced lately and google wasn't helpful). In all other browsers, it works fine. Solution: Add type="application/x-shockwave-flash" to the embed tag