Commit MetaInfo

Revisãob560142d1d3779ff5eeb833e7c9d8fde0e8965de (tree)
Hora2022-01-13 00:26:04
Autorumorigu <umorigu@gmai...>
Commiterumorigu

Mensagem de Log

BugTrack/2544 preg regex /u option for line_rule_regex

Mudança Sumário

Diff

--- a/lib/html.php
+++ b/lib/html.php
@@ -2,7 +2,7 @@
22 // PukiWiki - Yet another WikiWikiWeb clone.
33 // html.php
44 // Copyright
5-// 2002-2020 PukiWiki Development Team
5+// 2002-2022 PukiWiki Development Team
66 // 2001-2002 Originally written by yu-ji
77 // License: GPL v2 or (at your option) any later version
88 //
@@ -535,7 +535,7 @@ function make_related($page, $tag = '')
535535
536536 function _convert_line_rule_to_regex($a)
537537 {
538- return '/' . $a . '/';
538+ return '/' . $a . '/' . get_preg_u();
539539 }
540540
541541 // User-defined rules (convert without replacing source)
Show on old repository browser