Changeset 619 for trunk

Show
Ignore:
Timestamp:
09/12/07 21:10:37 (15 months ago)
Author:
michiel
Message:

allow some stuff in the comments. Most was already there but it was not working.
Many thanks to elixer from freenode #asterisk-dev for helping me out.

Closes #153

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/common/mvblog_common.php

    r601 r619  
    338338                $allowed .= preg_quote("(){}"); 
    339339                /* create preg_replace string of characters we allow */ 
    340                 if (array_key_exists("bbcode", $options )) { $allowed .= preg_quote("[]&@=+:/.?;", "/"); } 
     340                if (array_key_exists("bbcode", $options )) { $allowed .= preg_quote("![]&@=+:/.?;,'\\\"", "/"); } 
    341341                if (array_key_exists("space", $options  )) { $allowed .= "\s"; } 
    342342                if (array_key_exists("url", $options    )) { $allowed .= preg_quote("+:/.?", "/"); } 
     
    344344 
    345345                $allowed = "/[^$allowed]/s"; 
    346  
    347346                if (is_array($data)) { 
    348347                        /* lets handle the array */