esi icon indicating copy to clipboard operation
esi copied to clipboard

Refactor source generation to use EEx

Open bruce opened this issue 9 years ago • 2 comments

bruce avatar Feb 26 '17 21:02 bruce

I found that liquid (https://github.com/bettyblocks/liquid-elixir) is a nicer option than using eex when I was doing some templating for another project, and it helpfully side-steps the possibility of bad/harmful commands being injected in.

If I get some spare time in the coming weeks I'll have a crack at it on a feature branch and see how far I get.

astutecat avatar Mar 26 '19 10:03 astutecat

Another option is to use macros and do not output source code at all. Is there any particular reason to want to output source ?

lud avatar Mar 26 '19 13:03 lud