Fixes the problems with r102179 and r102179, as there are valid tags which begin the same, which meant they were not removed from the TOC (the second regex, intended to remove tag parameters, then converted <img or <blockquote> into <i> / <b>). The same problem existed in the original regex, but as there are no valid tags which begin with sup or sub, it never happened). Added comment explaining the tocline regex, and added a bunch of parser tests. |
||
|---|---|---|
| .. | ||
| CoreLinkFunctions.php | ||
| CoreParserFunctions.php | ||
| CoreTagHooks.php | ||
| DateFormatter.php | ||
| LinkHolderArray.php | ||
| Parser.php | ||
| Parser_DiffTest.php | ||
| Parser_LinkHooks.php | ||
| ParserCache.php | ||
| ParserOptions.php | ||
| ParserOutput.php | ||
| Preprocessor.php | ||
| Preprocessor_DOM.php | ||
| Preprocessor_Hash.php | ||
| Preprocessor_HipHop.hphp | ||
| StripState.php | ||
| Tidy.php | ||