Change to Text

View: New views
2 Messages — Rating Filter:   Alert me  

Change to Text

by Matthew McNaney :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Closing in on a 1.3 stable release. Stuff keeps popping up to fix.

A recent post complained of a problem with text parsing. They had a link
that looked like so:

<a href="mailto:ollie">Ollie</a>

The problem is that smilies are getting created inside tags.
The ":o" portion looks like the surprise smilie and it messed up the link.

While starting the fix I noticed that Text still had the $use_smilies
parameter. Since the bb filtering has been moved outside the class, I
removed it.

After doing this I came to a few decisions. Since bb encoding is such a
small portion of the site, parseOutput will NOT observe text filters by
default. Most admins are using the wysiwyg tools anyway.

You can enable filtering by calling parseOutput with the third parameter
as true. This used to be the aforementioned smilie parameter, so
Comments still works fine.

My other decision is to include the pear bb filter Shaun mentioned the
other day. The default filter is still bb but I added a commented line
above it to enable pear instead.

Thanks,
Matt

--

Matthew McNaney
Electronic Student Services
Appalachian State University
Ext. 6493
http://ess.appstate.edu
http://phpwebsite.appstate.edu


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Phpwebsite-developers mailing list
Phpwebsite-developers@...
https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers

Re: Change to Text

by Verdon Vaillancourt-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Matt,

Sorry I haven't been able to make time to test this RC, but I did  
want to tell you that I appreciate the information and updates.

Very best regards,
verdon


On 8-Aug-07, at 9:52 AM, matt wrote:

> Hello,
>
> Closing in on a 1.3 stable release. Stuff keeps popping up to fix.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Phpwebsite-developers mailing list
Phpwebsite-developers@...
https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers