Hi all,

I have this near the beginning my Org file:

#+ATTR_COOL: How cool is that!

I want it to be exported to something like

<script>var how_cool = 'How cool is that!'

There is a problem, hovever, what happens if some clever kid exploited
it, putting things like apostrophes into the string:

#+ATTR_COOL: It's nice!

which gets exported to

<script>var how_cool = 'It's nice!</script>

and hilarity ensues.

So, my question is: how to solve this problem?
TIA

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

Reply via email to