Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.

Plugin Syntax Prettifier linenumbers

jackmaessenjackmaessen ✭✭✭
edited November 2015 in Feedback

Version 2.2 with Html Inputformatter

There seems to be a problem with this plugin in combination with Inputformatter on Html
When checking the Line Numbers in the settings of the plugin, only line number 1 is displayed an the whole code is in the L0
The problem seems to be in the prettify.js in GooglePrettify/js/prettify.js
I replaced this complete prettify.js with the one below (attachment). Now the linenumbers are working fine when using Html as Inputformatter:

This issue was earlier discussed here: http://vanillaforums.org/discussion/28750/linenums-not-displayed

hgtonight
Sign In or Register to comment.