E107: shortcode in textarea field with more than 1 parameter doesn't work

Created on 31 May 2018  路  3Comments  路  Source: e107inc/e107

I want to insert to Welcome message this shortcode:
{CHAPTER_MENUS: name=mobile-games&template=mobile-games}

it's changed to:
[html]<p>{CHAPTER_MENUS: name=mobile-games&amp;template=mobile-games}</p>[/html]

& - it's not taken as second parameter.

Array
(
    [name] => mobile-games
    [amp;template] => mobile-games
)

I thought this was solved already, but it's happened again.

bug

Most helpful comment

@Jimmi08 Just submitted a fix for this issue.

All 3 comments

looks like chapters of the mobile games show on every page

This is similar issue for gallery, it was fixed:

https://github.com/e107inc/e107/issues/2205

@Jimmi08 Just submitted a fix for this issue.

Was this page helpful?
0 / 5 - 0 ratings