Auto HTML in gallery description has problems with some URLs
jfriend
Registered Users Posts: 8,097 Major grins
A Smugmug user was trying to put this URL into their gallery description as text:
http://www.australianstage.com.au/201008043744/reviews/melbourne/swan-lake-on-ice-%7C-the-imperial-ice-stars.html
When Smugmug ran it's auto-conversion to HTML, it only made the part up to the % sign as a URL like this:
http://www.australianstage.com.au/201008043744/reviews/melbourne/swan-lake-on-ice-%7C-the-imperial-ice-stars.html
I realize that any autodetection code has a bit of an issue with figuring out what punctuation at the end of a URL should not be included as part of the URL, but in this case, there should be no question that URL continues on. You can see the very confused Smugmug user in this thread.
We worked around it by using <html> and </html> and manually coding their own HTML, but it could have and probably should have "just worked" the way they originally did it.
http://www.australianstage.com.au/201008043744/reviews/melbourne/swan-lake-on-ice-%7C-the-imperial-ice-stars.html
When Smugmug ran it's auto-conversion to HTML, it only made the part up to the % sign as a URL like this:
http://www.australianstage.com.au/201008043744/reviews/melbourne/swan-lake-on-ice-%7C-the-imperial-ice-stars.html
I realize that any autodetection code has a bit of an issue with figuring out what punctuation at the end of a URL should not be included as part of the URL, but in this case, there should be no question that URL continues on. You can see the very confused Smugmug user in this thread.
We worked around it by using <html> and </html> and manually coding their own HTML, but it could have and probably should have "just worked" the way they originally did it.
--John
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
0
Comments
http://help.smugmug.com