Home Download Buy Blog Forum Support

HTML encode special characters not working

HTML encode special characters not working

Postby diegeneraal on Thu Apr 04, 2013 6:38 pm

When I run this "html: encode special characters" on a piece of code like:

Code: Select all
<ul>
   <li>...</li>
</ul>


it does nothing. What I am looking for is something like:

Code: Select all
&lt;ol&gt;
   &lt;li&gt;...&lt;/li&gt;
&lt;/ol&gt;


What am I doing wrong ?
diegeneraal
 
Posts: 1
Joined: Thu Apr 04, 2013 6:32 pm

Re: HTML encode special characters not working

Postby tito on Fri Apr 05, 2013 12:25 am

use 'hasher' package, 'entity encode'
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 25 guests