[quote=kale_1990,29.11.2006, 11:53]->inhalt2 = "<font coler=blue>das ist ein</font>test"
...
$inhalt =~ s/\<.+?\>/ /g;[/quote]
Wenn du hier für </font> ein Leerzeichen einfügst, dann verfälscht du den
Text, denn auch im Browser würde
das ist eintest
angezeigt werden! Beispiel:
<font coler=blue>H</font><font coler=red>a</font><font coler=yellow>l</font><font coler=green>l</font><font coler=white>o</font>
Es wäre ein buntes "Hallo", du würdest daraus ein
H a l l o
machen.\n\n
<!--EDIT|opi|1164812496-->
What is a good module? That's hard to say.
What is good code? That's also hard to say.
One man's Thing of Beauty is another's man's Evil Hack.