Reply to Re: PEAR::HTML_BBCodeParser Parser Issue

Your name:

Reply:


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
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация