diff --git a/lib/jsduck/tag/since.rb b/lib/jsduck/tag/since.rb index 72a55abba524d20e4bc7941d3b3d870e79572719..e4a9590dae7dab90ed5b35e94cb1e01acd19fa62 100644 --- a/lib/jsduck/tag/since.rb +++ b/lib/jsduck/tag/since.rb @@ -10,9 +10,10 @@ module JsDuck::Tag end def parse(p) - p.add_tag(:since) - p.skip_horiz_white - p.current_tag[:version] = p.match(/.*$/).strip + { + :tagname => :since, + :version => p.hw.match(/.*$/).strip, + } end def process_doc(tags)