Steffen
Well-known member
- Affected version
- 2.0.4
There is no syntax highlighting for [CODE=js] on the help page: https://xenforo.com/community/help/bb-codes/
I think the example should either be changed to [CODE=javascript] or XenForo should be fixed to accept [CODE=js], too.
Maybe [CODE=js] worked in XenForo 1.x?
Examples:
I think the example should either be changed to [CODE=javascript] or XenForo should be fixed to accept [CODE=js], too.
Maybe [CODE=js] worked in XenForo 1.x?
Examples:
Code:
var hello = 'world';
JavaScript:
var hello = 'world';