Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
RobGT #1
Re: Strip html tags
Thanks Kindler,
I'm sure it will, but I get a strange error when trying :(
I'll figure something out.
Cheers,
Rob [url]http://robgt.com/[/url]
Extensions: [url]http://robgt.com/products/index.asp[/url]
Tutorials: [url]http://robgt.com/tutorials/index.asp[/url]
Blog: [url]http://blog.robgt.com/[/url]
RobGT Guest
-
strip html tags from textarea content
Hi, I'm really new to flex developing, I'm writing a page that have to retrieve some content from an xml file and display it in some form... -
note 33993 added to function.strip-tags
Judging from the sheer number of "holes" found in the posted samples, clearly, creating "safe" html is a difficult task. Consider an alternative... -
note 33826 modified in function.strip-tags by didou
To eminate the script tags found in html, don't use the preg_replace approach. The .* can include </script> when there are multiple script tags, and... -
note 33836 added to function.strip-tags
Correction: the line that reads $second = substr($html, $pos2 + 1); should read $second = substr($html, $pos2); ---- Manual Page --... -
note 33580 added to function.strip-tags
For fixing the <scr<script></script>ipt> bug, wouldn't it be ok to call strip_tags iteratively until the string does not change anymore? ----... -
RobGT #2
Re: Strip html tags
Well,
I found this pattern on [url]http://regxlib.com/[/url] which seems to do the trick.
<[^>]+>
If anyone knows why I shouldn't use it to remove HTML tags from a lum pof
text, please do tell me, and hopefully provide an alternative :)
Cheers,
Rob [url]http://robgt.com/[/url]
Extensions: [url]http://robgt.com/products/index.asp[/url]
Tutorials: [url]http://robgt.com/tutorials/index.asp[/url]
Blog: [url]http://blog.robgt.com/[/url]
RobGT Guest



Reply With Quote

