Forums

[Plugin: Lazyest Gallery] Plugin failure on single quotes in file names (2 posts)

  1. archon810
    Member
    Posted 10 months ago #

    I just installed the newest version (I've been using 0.9.5 for a long time) and the plugin wouldn't work due to an XML error.

    Here it is:
    XML error: > required at line 17 in file /srv/www/htdocs/beerpla.net/lzg_root/2006/2006.07.08.London/captions.xml

    The line is:
    <photo id='42.Buckingham's.Palace.3.JPG'>

    As you see, the id contains a single quote and breaks promptly.

    It should be either wrapped in CDATA or escaped properly.

  2. macbrink
    Member
    Posted 9 months ago #

    right, thanks
    I've spotted the issue.
    The problem is that the filename is represented as an attribute (id) instead of a tag.
    I'll fix it in the coming release.

Reply

You must log in to post.

About this Topic