This repository was archived by the owner on May 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
This repository was archived by the owner on May 19, 2021. It is now read-only.
Special chars break functionality #5
Copy link
Copy link
Open
Description
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><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"></script></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><script src="[[+css]]" type="text/javascript"></script><br><script src="[[+js]]" type="text/javascript"></script></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...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels