Wedge
Public area => Bug reports => The Pub => Archived fixes => Topic started by: Pandos on April 9th, 2014, 10:11 AM
-
eheheh... :eheh:
If you post it here in Wedge & gt ; will be transformed to > also & lt ; to < :)
Yeah, it's a bug, it's a bug :)
So your code seems to recognize the flags :)
:edit: Split from http://wedge.org/pub/bugs/8565/installer-sub-language-folders-are-not-recognized/
-
What bug are you talking about..? I'm not seeing <> etc. transformations..?
Also, I finished tweaking the installer. I fixed the language fixing bug, etc. I'll commit that soon.
-
You've fixed that days ago? :)
Now I can safely insert code without transition to > or <.
$incontext['detected_languages'][substr($entry, 8, -4)] = '<img src="core/languages/Flag.' . substr($entry, 8, -4) . '.png"> ' . $txt['lang_name'];
-
Sorry, revert my posting. Bug is still present.
Take a look at the inserted code.
< > are transformed to <>
-
Fixed. Somehow...
The remaining problem is with 'php' tags. They act like a code tag, but yet aren't 'protected' the same way. What a bother... :-/ I could do the preparsing for them the same way, but then if you end up typing something like (code)hello (php)world();(/php)(/code), all hell will break loose.
Heck, thinking about it, if you're trying to play with NESTING code tags, the SMF (and thus Wedge) code will probably fail to protect them. It really, REALLY assumes that you're politely using a series of self-closed code tags, and nothing more.