You are viewing a single comment's thread from:

RE: The Reports from the Witnesses 2017-07-30

Hi Tim! Thanks for another good list of reports from the witnesses.

On that thumbnail bug where it doesn't show in the feeds if it contains parenthesis or apostrophe in the filename: https://github.com/steemit/condenser/issues/1499

Might be because whatever server code is producing the HTML, it is leaving out the quotes around the url parameter of the background-image.

Should be

background-image: url("pic.gif")

If you inspect the image in the browser, it does show the quotes but if you do a "View Source" it shows something like this:

<span...... style="background-image:url(https://steemitimages.com/256x512/https://cdn.pixabay.com/photo/2013/03/23/22/58/key-96233_640.jpg);"

Maybe if single quotes were used around the file name in the url parameter, it would work:

<span...... style="background-image:url('https://steemitimages.com/256x512/https://cdn.pixabay.com/photo/2013/03/23/22/58/key-96233_640.jpg');"

If not, then special characters like parenthesis need to be HTML escaped with the codes here: http://www.theukwebdesigncompany.com/articles/entity-escape-characters.php

Most programming languages have some command to escape on the server side but you could also escape on the client side. I'm not sure exactly how steemit produces the HTML for its pages but someone there must know, and hopefully it will be a fairly straightforward fix!

Sort:  

Thanks!

Coin Marketplace

STEEM 0.17
TRX 0.13
JST 0.027
BTC 58397.49
ETH 2619.60
USDT 1.00
SBD 2.42