Skip to content
This repository has been archived by the owner on Aug 1, 2019. It is now read-only.

Commit

Permalink
Javadoc: exclude @verbatim content from being trimmed
Browse files Browse the repository at this point in the history
  • Loading branch information
IzzySoft committed Apr 14, 2016
1 parent 1c73775 commit fed060a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/hypercore/javadoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,9 @@ def ScanJavaDoc(text,fileName,lineNo=0):
taglines = 0
while tags != None:
tag = tags.group(2)[1:].lower().strip()
cont = pattBreak.sub(' ',tags.group(4)).strip()
cont = pattBreak.sub(' ',tags.group(4))
if tag!='verbatim':
cont = cont.strip()
taglines = tags.group(0).strip().count('\n')
end = tags.start()+len(tags.group(1)+tags.group(2)+tags.group(3)+tags.group(4))
tags = pattTag.search(block,end)
Expand Down

0 comments on commit fed060a

Please sign in to comment.