<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[html_entity_decode solo per alcuni tag]]></title><description><![CDATA[<p dir="auto">Ciao a tutti,<br />
io non ho idea di come si possa fare ne se sia possibile farlo. In pratica ho una stringa del tipo:<br />
&lt;p&gt;fsdfsdfsdfsdfsd&lt;/p&gt;<br />
&lt;p&gt;&lt;strong&gt;fsdfsdfsdfsdfsd&lt;/strong&gt;&lt;/p&gt;<br />
&lt;p&gt;&lt;em&gt;fsdfsdfsdfsdfsd&lt;/em&gt;&lt;/p&gt;<br />
che sarebbe una stringa a cui è stato applicato htmlentities in php<br />
a questo punto dovrei riconvertirla eseguendo html_entity_decode<br />
ma il problema è che vorrei che fosse fatto html_entity_decode solo per alcuni tag<br />
che stabilisco io e non per altri. Ad esempio solo per &lt;p&gt; &lt;em&gt; &lt;strong&gt;<br />
In pratica creare una white list di tag html ammissibili<br />
qualcuno è in grado di fare una cosa del genere??</p>
]]></description><link>https://dev.connect.gt/topic/26781/html_entity_decode-solo-per-alcuni-tag</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Dec 2026 08:01:09 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/26781.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 30 Jan 2007 23:21:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to html_entity_decode solo per alcuni tag on Wed, 31 Jan 2007 08:42:42 GMT]]></title><description><![CDATA[<p dir="auto">se i tag da sostituire sono pochi puoi fare una funzione di sostituzione personalizzata...</p>
]]></description><link>https://dev.connect.gt/post/453683</link><guid isPermaLink="true">https://dev.connect.gt/post/453683</guid><dc:creator><![CDATA[ienavr]]></dc:creator><pubDate>Wed, 31 Jan 2007 08:42:42 GMT</pubDate></item></channel></rss>