Skip to content

Extra spaces in {linkText} #99

@RicardoNunoSilva

Description

@RicardoNunoSilva

About the new {linkText} option in Template, I've been noticing it sometimes includes annoying leading blank spaces.

Example: I have a template like this:
{linkText}
{url}

In this page http://www.flickr.com/photos/artour_a/5211327406/
there are some links in the sidebar to the right.
Try to use the above Template to copy the link "Caterpillars of the world", and it will give you this:

                                    Caterpillars of the world
                (Álbum: 104)

http://www.flickr.com/photos/artour_a/sets/72157627461869613/with/5211327406/

I was hoping for something like:

Caterpillars of the world
(Álbum: 104)
http://www.flickr.com/photos/artour_a/sets/72157627461869613/with/5211327406/

or

Caterpillars of the world (Álbum: 104)
http://www.flickr.com/photos/artour_a/sets/72157627461869613/with/5211327406/

You may want to check this :)
Maybe you can trim all leading spaces (ie. in the start of the string)?
Thanks.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions