Little Fighter Empire - Forums
Smileys show up in [code] tags - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Empire Zone (https://lf-empire.de/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Report (https://lf-empire.de/forum/forumdisplay.php?fid=6)
+--- Thread: Smileys show up in [code] tags (/showthread.php?tid=9739)



Smileys show up in [code] tags - Som1Lse - 03-22-2015

The following:
Code:
[​code=cpp]
void Foo(const std::string &MyString);
[​/code]

Has an obnoxious <img ...>-tag in it:
    C++-Code:
void Foo(const std::string &MyString);



RE: Smileys show up in [code] tags - YinYin - 03-22-2015

(03-22-2015, 12:29 PM)Someone else Wrote:  The following:
Code:
[​code=cpp]
void Foo(const std::string &MyString);
[​/code]

Has an obnoxious <img ...>-tag in it:
    C++-Code:
void Foo(const std::string &MyString);

Disable smilies always.


RE: Smileys show up in [code] tags - Silverthorn - 04-18-2015

Semi-fixed.

I hacked something together that disables smilies in posts as soon as the code=asd or codei=asd environment.

Hope that is good enough, I really don't want to take apart the whole parser :p