getFormMsgSubject and un_preparsecode July 28, 2014, 05:05:42 pm 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#L352then other is:https://github.com/elkarte/Elkarte/blob/11bfe9b7dcf6fd0cb1e6449bdda22fb8bb7bc216/sources/subs/Post.subs.php#L1654I'm tempted to use un_preparsecode in getFormMsgSubject as well.Do you see any problem?
Re: getFormMsgSubject and un_preparsecode Reply #1 – August 02, 2014, 05:26:09 am https://github.com/elkarte/Elkarte/commit/b122aab600369c5a8a6c2223ab22d192af6cd329
Re: getFormMsgSubject and un_preparsecode Reply #2 – August 04, 2014, 02:40:30 pm Seems like something that should be tested.
Re: getFormMsgSubject and un_preparsecode Reply #3 – August 04, 2014, 02:57:08 pm I did some quick tests, but TBH I was not entirely sure what I was expected to test...