Index: trunk/extensions/DoubleWiki/DoubleWiki.php |
— | — | @@ -74,10 +74,10 @@ |
75 | 75 | #add prefixes to internal links, in order to prevent duplicates |
76 | 76 | $translation = preg_replace("/<a href=\"#(.*?)\"/i","<a href=\"#l_\\1\"", |
77 | 77 | $translation ); |
78 | | - $translation = preg_replace("/<font id=\"(.*?)\"/i","<font id=\"l_\\1\"", |
| 78 | + $translation = preg_replace("/<li id=\"(.*?)\"/i","<li id=\"l_\\1\"", |
79 | 79 | $translation ); |
80 | 80 | $text = preg_replace("/<a href=\"#(.*?)\"/i","<a href=\"#r_\\1\"", $text ); |
81 | | - $text = preg_replace("/<font id=\"(.*?)\"/i","<font id=\"r_\\1\"", $text ); |
| 81 | + $text = preg_replace("/<li id=\"(.*?)\"/i","<li id=\"r_\\1\"", $text ); |
82 | 82 | |
83 | 83 | #add tags before h2 and h3 sections |
84 | 84 | $translation = preg_replace("/<h2>/i","<div title=\"@@h2\"></div>\n<h2>", |