Skip to main content
Topic: getFormMsgSubject and un_preparsecode (Read 2343 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

getFormMsgSubject and un_preparsecode

getFormMsgSubject contains a piece of code that is just a clone of un_preparsecode... almost.
The only different is the callback of the "html" tag part.

One is:
https://github.com/elkarte/Elkarte/blob/11bfe9b7dcf6fd0cb1e6449bdda22fb8bb7bc216/sources/subs/Post.subs.php#L352
then other is:
https://github.com/elkarte/Elkarte/blob/11bfe9b7dcf6fd0cb1e6449bdda22fb8bb7bc216/sources/subs/Post.subs.php#L1654

I'm tempted to use un_preparsecode in getFormMsgSubject as well.
Do you see any problem?
Bugs creator.
Features destroyer.
Template killer.


Re: getFormMsgSubject and un_preparsecode

Reply #2

Seems like something that should be tested.

Re: getFormMsgSubject and un_preparsecode

Reply #3

I did some quick tests, but TBH I was not entirely sure what I was expected to test... :-\
Bugs creator.
Features destroyer.
Template killer.