Fixed GALLERY BBCode renders using relative URLs in SimpleHtml and EmailHtml


Well-known member
Affected version
In XFMG\BbCode\Gallery::renderTagSimple, when rendering simple or email HTML for media or album galleries, the link is built using relative URLs rather than full URLs as required for links views externally.

Can I suggest that line 118 (v2.0.4) be changed to: $link = $router->buildLink('full:media', ['media_id' => $id]);

... while line 125 be changed to: $link = $router->buildLink('full:media/albums', ['album_id' => $id]);

With full: added to each buildLink command.