0

There may be a dupe for this, but the suggestion finder is only coming up for the parenthesis syntax of links, not a link for a URL with a parenthesis in it.

This edit popped up in my queue, where a user attempted to make a link for the following URL:

http://developer.android.com/reference/android/widget/ArrayAdapter.html#ArrayAdapter( android.content.Context, int, int, T[])

The markdown looks correct, but the view of the rendered output chops it up.

There is a whole section on Spinners here: <- correct link

You want to create an ArrayAdapter <- link to root of page, not specified anchor then set it as the adapter for a Spinner.

android.content.Context, int, int, T[]) <- chopped up bit of the anchor from the URL

While the edit is in good faith, and correct from a technical perspective, the link munging bug makes the edit invalid. So for now, I feel I have to reject it. 2 questions:

  1. Is there a way to get the link to display correctly?
  2. Is there a better practice for handling this type of suggested edit?

Update: Damn it, someone came along and figured out the rest of the needed character encodings to get the link to work. Encoding the parens, spaces and brackets did the trick (I only tried the parens, but it's obvious now). So amended question: This is a perfect candidate for a skip action, correct?

  • The "chopped up bit" is completely their fault. That part was not on the same line as the URL. It was on a new line, with a blank line in between the URL and that bit (see the source). He just did a terrible job at pasting that link into the box. Also, spaces always have to be URL encoded. They are not a valid URL character. – animuson Jul 1 '14 at 22:53

You must log in to answer this question.

Browse other questions tagged .