Skip to content

Instantly share code, notes, and snippets.

@donaldallen
Created September 24, 2012 16:26
Show Gist options
  • Save donaldallen/3776840 to your computer and use it in GitHub Desktop.
Save donaldallen/3776840 to your computer and use it in GitHub Desktop.
Entering this into WYSIWYG:
{{ files:listing folder="6" }}
<a class="fancybox"
href="{{ files:image_path id='{{ id }}' }}"
rel="group"
style="background-image:url( {{ url:site }}files/thumb/{{ id }}/150/150 )">
</a>
{{ /files:listing }}
Submit page. Brings back:
{{ files:listing folder="6" }} {{ /files:listing }}
Works totally fine when submitting, as in, the page shows it properly. But going back and editing the page, the contest of files:listing are gone.
If I leave the style portion out, it works just fine. I'm guessing it's the colon.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment