What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 150 Stack Exchange communities.

I'm not able to format a link with whitespaces in it in comments correctly. See my comment: Grails understanding belongsTo Association

[hasOne](http://grails.org/doc/latest/ref/Domain Classes/hasOne.html)

will not work properly (the same output only connected link is linked).

share|improve this question
What website gives out links that have unencoded spaces in them? That's just wrong on so many levels... – animuson Jun 21 '12 at 7:19
testing. hasOne – Shadow Wizard Jun 21 '12 at 7:29
Just manually replace space with %20 and it works. – Shadow Wizard Jun 21 '12 at 7:30

1 Answer 1

up vote 2 down vote accepted

Here you go: hasOne

The trick is to urlencode the space by hand:


... also works for those annoying Wikipedia links with parentheses.

share|improve this answer
Is it imaginable to autodetect whitespaces in those links and enrich them with %20? As a feature request? – matcauthon Jun 21 '12 at 7:30
@matcauthon Probably not. – Yannis Jun 21 '12 at 7:36
@matcauthon: Whitespaces are used for the [text](URL "title") syntax, so auto-encoding it is not an option. – Dennis Jun 21 '12 at 12:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .