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

Enhance link element to support HTTP(S) URLs in xl:href attribute #4

Open
fbolton opened this issue Mar 7, 2017 · 1 comment
Open

Comments

@fbolton
Copy link

fbolton commented Mar 7, 2017

In DocBook 5, it is possible (in fact, recommended) to define ordinary HTTP hyperlinks using the following syntax:

<link xl:href="http://foo">Optional Text for Link</link>

Where xl references the xlink Namespace URI. This can be rendered easily enough in AsciiDoc as:

http://foo[Optional Text for Link]
@fbolton
Copy link
Author

fbolton commented Mar 12, 2017

I have a fix for this, which appears to work in the book I tested it on. But there are some bits of code in the existing link processing that I did not entirely understand, so it would be best to check my code to make sure it does not break anything. I will submit a patch for this shortly.

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

1 participant