[doc] Fix javadoc in release notes for constructor

This commit is contained in:
Andreas Dangel
2020-07-23 11:44:39 +02:00
parent 5c1a11c0b4
commit 6ee17d44f7
2 changed files with 5 additions and 2 deletions

View File

@@ -180,6 +180,9 @@ class JavadocTag < Liquid::Tag
if member_suffix && Regexp.new('(\w+|<init>)(' + ARGUMENTS_REGEX.source + ")?") =~ member_suffix
suffix = $1 # method or field name
if suffix == '<init>'
suffix = '&lt;init&gt;'
end
if opts.show_args? && $2 && !$2.empty? # is method