reddit-moderator-toolbox-legacy icon indicating copy to clipboard operation
reddit-moderator-toolbox-legacy copied to clipboard

Removal reasons: markdown links within <option> aren't included

Open TheEnigmaBlade opened this issue 11 years ago • 2 comments

For an example, here's a shortened version of the /r/leagueoflegends removal reasons:

Your post has been removed because 
*<select id="subreddit_rules_combobox"> 
<option>witch hunting is not allowed. Please read [this wiki page](/r/leagueoflegends/w/witchhunting) for more information.</option>
<option>tech support questions and requests are not allowed. [Contact Riot support](https://support.leagueoflegends.com/anonymous_requests/new) if you have not already done so.</option>
</select>*

If you are not familiar with the subreddit rules, you can read them [here](/r/leagueoflegends/w/subredditrules).

The link to the subreddit rules at the end is included in the commented/PM'd removal reason, but all links in option tags are not included.

TheEnigmaBlade avatar Aug 23 '14 19:08 TheEnigmaBlade

Isn't this the issue where you simply need to double escape something?

If you want links in your selection box, you will need to put a forward slash '' in front of every bracket, except for the closing parenthesis ')', as having the \ in there messes up the link.

<option>\[Option 1\]\(http://www.reddit.com)</option> 

I guess we could do a check for markdown between option tags and escape stuff... Not sure if that is really needed though.

creesch avatar Nov 04 '14 10:11 creesch

Where are we on this? If it's a bug it need confirmed and a milestone.

agentlame avatar Dec 28 '14 21:12 agentlame