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

Periods are getting embedded into hyperlinks instead of signifying the end of a sentence. (Origin: bugzilla #654153) #4331

Closed
doxygen opened this issue Jul 2, 2018 · 0 comments

Comments

@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version unspecified on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2011-07-07 12:02:33 +0000, Ray Lefuel wrote:

In the Doxygen XML output, I noticed that I cannot end a sentence with a URL because the period is placed inside the hyperlink that Doxygen auto-generates.

For example, if I have the following sentence in the brief description of my source code...

For more information, see http://www.google.com.

Then the XML output interprets the sentence as ...

"For more information, see http://www.google.com."

It should be:

"For more information, see http://www.google.com."

Also, is there a way to prevent Doxygen from converting URLs into active hyperlinks? Sometimes I need to refer to URLs that don't exist (i.e. http://host:port) so I don't always want them converted. The only way, as far as I can tell, is to place the URL in quotations.

On 2011-07-30 18:43:42 +0000, albert wrote:

An other problem with hyper-linking is that when one uses file: followed by a this is also seen as the start of a hyper-link.
Example:
!> @brief writes info to file: oops
subroutine wr()
end

On 2011-07-30 18:48:46 +0000, albert wrote:

Created attachment 192918
Patch for "file:: and for ".: at end

This patch fixes the file: problem by specifying that a least one character has to follow the : (i.e replaced * in + in the definition of the URLMASK)

Created a new rule for the URL that matches the URL plus a "." but leaves this "." in the input stream.

On 2011-10-29 15:05:08 +0000, Dimitri van Heesch wrote:

Thanks Albert,

I'll include the patch in the next subversion update.

To prevent an automatic link to http://host:port, use %http://host:port

On 2011-12-03 18:22:49 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.6. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.

@doxygen doxygen closed this as completed Jul 2, 2018
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