Skip to content
This repository was archived by the owner on May 19, 2021. It is now read-only.
This repository was archived by the owner on May 19, 2021. It is now read-only.

Special chars break functionality #5

@exside

Description

@exside

Thanks for your extra, really helpful!

I just had to pull some hair for 2 days now, because I could get it to work everywhere, just not in one installation...the problem was content like the following in the Instructions field of the release:

<p>Put the snippet in your template like</p><p>&lt;script src="[[!SnippetName:tag? &output=`js` &targetfile=`scripts.combined.min` &targetpath=`assets/site/js/` &sources=`https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false,https://stats.g.doubleclick.net/dc.js,assets/site/js/` &checkremote=`0` &cleanup=`1` &devmode=`0` &debug=`1`]]" type="text/javascript"&gt;&lt;/script&gt;</p><p>or indirectly like</p><p>[[!SnippetName:tag? &output=`css,js` &targetfile=`styles.combined.min,scripts.combined.min` &targetpath=`assets/,assets/` &sources=`assets/site/css/,assets/site/js/` &recursive=`0` &checkremote=`0` &disable=`0` &cleanup=`1` &toplaceholder=`1` &pxbase=`10` &devmode=`0` &debug=`1`]]</p><p>&lt;script src="[[+css]]" type="text/javascript"&gt;&lt;/script&gt;<br>&lt;script src="[[+js]]" type="text/javascript"&gt;&lt;/script&gt;</p>

I just found this out, because suddenly I had some XML Errors in the log, no idea where they came from, cannot get them anymore, would post if they come again^^...

The problem was, that the package overview (modRepositoryHome) was showing correctly but as soon as I clicked on the package to download it, the grid/list went empty...in the log I had "could not connect to provider "...but this was just the result of the error generated by something that tried to output that content above...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions