修訂 | 4cafe30fc4dac548fd3a33ef89eab3524a8181a6 (tree) |
---|---|
時間 | 2011-02-02 00:01:18 |
作者 | henoheno <henoheno> |
Commiter | henoheno |
BugTrack2/343: htmlsc()'s default setting ENT_QUOTES suppresses replacing single quotes (notified by masao)
@@ -1,6 +1,6 @@ | ||
1 | 1 | <?php |
2 | 2 | // PukiWiki - Yet another WikiWikiWeb clone. |
3 | -// $Id: default.ini.php,v 1.25 2005-12-20 14:04:40 henoheno Exp $ | |
3 | +// $Id: default.ini.php,v 1.26 2011-02-01 15:01:18 henoheno Exp $ | |
4 | 4 | // Copyright (C) |
5 | 5 | // 2003-2005 PukiWiki Developers Team |
6 | 6 | // 2001-2002 Originally written by yu-ji |
@@ -115,8 +115,8 @@ $line_rules = array( | ||
115 | 115 | 'SIZE\(([^\(\)]*)\):((?:(?!SIZE\([^\)]+\)\:).)*)' => '<span class="size$1">$2</span>', |
116 | 116 | '%%%(?!%)((?:(?!%%%).)*)%%%' => '<ins>$1</ins>', |
117 | 117 | '%%(?!%)((?:(?!%%).)*)%%' => '<del>$1</del>', |
118 | - "'''(?!')((?:(?!''').)*)'''" => '<em>$1</em>', | |
119 | - "''(?!')((?:(?!'').)*)''" => '<strong>$1</strong>', | |
118 | + "'''(?!')((?:(?!''').)*)'''" => '<em>$1</em>', | |
119 | + "''(?!')((?:(?!'').)*)''" => '<strong>$1</strong>', | |
120 | 120 | ); |
121 | 121 | |
122 | 122 | ///////////////////////////////////////////////// |
@@ -1,6 +1,6 @@ | ||
1 | 1 | <?php |
2 | 2 | // PukiWiki - Yet another WikiWikiWeb clone. |
3 | -// $Id: keitai.ini.php,v 1.25 2005-12-10 07:57:30 henoheno Exp $ | |
3 | +// $Id: keitai.ini.php,v 1.26 2011-02-01 15:01:18 henoheno Exp $ | |
4 | 4 | // Copyright (C) |
5 | 5 | // 2002-2005 PukiWiki Developers Team |
6 | 6 | // 2001-2002 Originally written by yu-ji |
@@ -188,8 +188,8 @@ $line_rules = array( | ||
188 | 188 | 'SIZE\(([^\(\)]*)\):((?:(?!SIZE\([^\)]+\)\:).)*)' => '$2', // Disabled |
189 | 189 | '%%%(?!%)((?:(?!%%%).)*)%%%' => '<ins>$1</ins>', |
190 | 190 | '%%(?!%)((?:(?!%%).)*)%%' => '<del>$1</del>', |
191 | - "'''(?!')((?:(?!''').)*)'''" => '<em>$1</em>', | |
192 | - "''(?!')((?:(?!'').)*)''" => '<strong>$1</strong>', | |
191 | + "'''(?!')((?:(?!''').)*)'''" => '<em>$1</em>', | |
192 | + "''(?!')((?:(?!'').)*)''" => '<strong>$1</strong>', | |
193 | 193 | ); |
194 | 194 | |
195 | 195 |