Fix share bbcode
authorMarcel Werk <burntime@woltlab.com>
Fri, 19 May 2023 15:35:34 +0000 (17:35 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 19 May 2023 15:35:34 +0000 (17:35 +0200)
com.woltlab.wcf/templates/article.tpl

index 78681a2b6689d17b02b757a6d114e6c60b98f8e5..2d54f675dc869bc2934672399c835969fa5da698 100644 (file)
 {/capture}
 
 {capture assign='contentInteractionShareButton'}
-       <button type="button" class="button small wsShareButton jsTooltip" title="{lang}wcf.message.share{/lang}" data-link="{$articleContent->getLink()}" data-link-title="{$articleContent->getTitle()}" data-bbcode="[article]{$article->getObjectID()}[/article]">
+       <button type="button" class="button small wsShareButton jsTooltip" title="{lang}wcf.message.share{/lang}" data-link="{$articleContent->getLink()}" data-link-title="{$articleContent->getTitle()}" data-bbcode="[wsa]{$article->getObjectID()}[/wsa]">
                {icon name='share-nodes'}
        </button>
 {/capture}