2016-02-20
| ||
13:14 | • Fixed ticket [3a4f748347]: Le parseur du wiki ne parse pas récursivement les tags inline plus 5 other changes artifact: 9bf13ce636 user: bohwaz | |
2016-02-17
| ||
20:04 | • New ticket [3a4f748347]. artifact: 3c546db809 user: fpoulain | |
Ticket Hash: | 3a4f74834723201df3aae3e9a34fb57531c3fb74 | |||
Title: | Le parseur du wiki ne parse pas récursivement les tags inline | |||
Status: | Fixed | Type: | Code_Defect | |
Severity: | Critical | Priority: | Immediate | |
Subsystem: | Resolution: | Fixed | ||
Last Modified: | 2016-02-20 13:14:19 | |||
Version Found In: | ||||
User Comments: | ||||
fpoulain added on 2016-02-17 19:04:10:Un correctif : +++ b/include/lib/KD2/SkrivLite.php @@ -291,7 +291,7 @@ class SkrivLite elseif (array_key_exists($tag, $this->inline_tags) && preg_match('/^(.*?)' . preg_quote($tag, '/') . '/', $text, $match)) { - $out = '<' . $this->inline_tags[$tag] . '>' . $match[1] . '</' . $this->inline_tags[$tag] . '>'; + $out = '<' . $this->inline_tags[$tag] . '>' . $this->_renderInline($match[1]) . '</' . $this->inline_tags[$tag] . '>'; } // Abbreviations: ??W3C|World Wide Web Consortium?? elseif ($tag == '??' && preg_match('/^(.+)\|(.+)\?\?/U', $text, $match)) bohwaz added on 2016-02-20 12:14:19:Merci, patché upstream dans kd2fw. |