-
Notifications
You must be signed in to change notification settings - Fork 267
Description
Description
If i create or modify a custom warning template and save it, the url oder iurl code like [url=http://simplemachines.org]text[/url] will be changed to [url="http://simplemachines.org"]text[/url]
" will be added when saving the code, the modified code is stored in database and also used in the message for the member, when you warning a member.
The link in the message that the member receives has this format <a href="http://&quot;http://simplemachines.org&quot;" class="bbc_link" target="_blank" rel="noopener">text</a> and will not work.
I think the cause is to find in Subs-Post.php, but i don't know where exactly.
Steps to reproduce
- create a custom warning template with url like
[url=http://simplemachines.org]text[/url] - save it
- open it again to edit, or warning a member and use this template
- check the message the member received
Environment (complete as necessary)
- Version/Git revision: 2.1.13
Additional information/references
Workaround: Delete the " entities from the custom warning templates directly in database table "log_comments"