Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links format 'inline' and 'nextline' #34

Closed
eddi13 opened this issue Mar 21, 2015 · 1 comment
Closed

Links format 'inline' and 'nextline' #34

eddi13 opened this issue Mar 21, 2015 · 1 comment

Comments

@eddi13
Copy link

eddi13 commented Mar 21, 2015

If you, among other things, has such links in HTML
< a href="http://example.com/en/content/5/Some-Site.html" >http://example.com/en/content/5/Some-Site.html< /a >
these links are output as
http://example.com/en/content/5/Some-Site.html [http://example.com/en/content/5/Some-Site.html]
what is complet superfluous.

So it was with Jon Abernathy, it is also here.

Of course Flag 'none', but in this flag all links as $display (buildlinkList() line about 398) are output.

I fixed it with ever
return $display. "\ n ['. $ url. ']'; -> return $ display == $url ? $display : $display. "\n ['. $url. ']';
and
return $display. '['. $url. ']'; -> return $display == $url ? $display : $display. '['. $url. ']';
but I have to rub entire buildlinkList() in child class, which is not optimal course.

Can you perhaps add flags like 'inline_auto' and 'nextline_auto' that take into account such situations. Or in any other way can handle these situations.

@mtibben
Copy link
Owner

mtibben commented Mar 22, 2015

I don't have time to add features myself, but pull requests are welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants