syntax highlighting works OK for all langs in editor, but produced / viewed pages only work with "php", all other langs are mono-colored.
- Status
- Open
- Subject
- syntax highlighting works OK for all langs in editor, but produced / viewed pages only work with "php", all other langs are mono-colored.
- Version
- 15.x
- Category
- Error
- Feature
- Syntax highlighter (Codemirror)
- Resolution status
- New
- Submitted by
- RadoS
- Volunteered to solve
- Lastmod by
- RadoS
- Rating
- Description
Note: in the editor the highlighter for "java" is called "jade", but neither "java" nor "jade" work in the example:
Copy to clipboardclass Foobar { static { System.out.println("foobar.<cinit>"); } public final static String FOO_COMPILE_ZEIT_KONSTANTE = "foo"; public final static String FOO_LAUFZEIT_KONSTANTE = new String("foo"); public final static int BAR_COMPILE_ZEIT_KONSTANTE = 42; public final static int BAR_LAUFZEIT_KONSTANTE = new Integer(42).intValue(); } public class KonstantenTest { public static void main(String... _) throws Exception { System.out.println("Foobar.FOO_COMPILE_ZEIT_KONSTANTE = '" + Foobar.FOO_COMPILE_ZEIT_KONSTANTE); System.out.println("Foobar.BAR_COMPILE_ZEIT_KONSTANTE = '" + Foobar.BAR_COMPILE_ZEIT_KONSTANTE); System.out.println("Foobar.FOO_LAUFZEIT_KONSTANTE = '" + Foobar.FOO_LAUFZEIT_KONSTANTE); System.out.println("Foobar.BAR_LAUFZEIT_KONSTANTE = '" + Foobar.BAR_LAUFZEIT_KONSTANTE); } }- Workaround
- I edited the homepage of the instance as example.
- Importance
- 8
- Priority
- 40
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 6214
- Created
- Tuesday 27 December, 2016 12:05:25 UTC
by RadoS - LastModif
- Tuesday 27 December, 2016 12:14:58 UTC