|
Posted by Jerry Stuckle on 04/20/07 23:13
thewarden wrote:
> 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....
>
Why not urlencode() it before you pass it off to the parser?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|