Escape \@

pwolanin - January 23, 2008 - 02:18
Project:API
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

This issue: http://drupal.org/node/195283

introduced some use of \@ which the doxygen standard says should be an escaped @: http://www.stack.nl/~dimitri/doxygen/commands.html#cmdat

A very simple-minded approach would be to replace \@ with &#64 before doing any parsing.

#1

pwolanin - January 23, 2008 - 03:07
Status:active» needs review

well, that &#64 idea doesn't work, so I'll take more of the approach used in codefilter.

Seems like the only place to convert back globally is function api_save_documentation()?

AttachmentSize
escaped-at-213120-1.patch 2.04 KB

#2

drumm - August 27, 2008 - 13:33
Status:needs review» needs work

I added the API_RE_TAG_START regular expression fragment which uses a "zero-width negative lookbehind assertion." This can theoretically be used everywhere.

#3

drumm - August 27, 2008 - 13:37
Title:doxygen escaping of \@» Escape \@

#4

drumm - December 27, 2008 - 04:27

The un-escaping end of this is now handled, any \@ in the final documentation becomes @.

#5

drumm - July 17, 2009 - 06:00
Status:needs work» fixed

I committed a fix for the rest of the tags.

#6

System Message - July 31, 2009 - 06:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.