Posted by thewarden on 04/20/07 21:22
On Apr 20, 10:29 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> I don't understand - it doesn't resolve the issue for what rest that are
> valid?
Yes. As I the last two examples show valid code that is truncated. Any
time an element has an attribute with a space it gets truncated. This
is very hard to avoid or at least I haven't found a way.
> Using urlencode() won't change an already valid url. It will convert
> non-valid characters such as a space to their URL equivalent (i.e. %20).
Yes I understand that and I'm trying to figure out how to get
urlencode() into HTML_BBCodeParser. Yet to figure out how to just
apply the urlencoding() onto just the URL itself. Have to do some
regex to grab the URL out I guess and then put it back. Mmmm....
[Back to original message]
|