Description: BASIC examples in helpcontent2 New Help should be displayed with color scheme similar to the Basic IDE. The bug aims to implement the color scheme inside the XSLT that render the HTML pages. Steps to Reproduce: (Enhancement) Actual Results: BASIC code is rendered in black Expected Results: Colored BASIC code that indicates reserved keywords, strings, arguments, etc.. Reproducible: Always User Profile Reset: No Additional Info: 1) the coloring transformation/template should be applied only inside the <bascode></bascode> tags in online_transform.xsl. 2) The color scheme is to be implemented with <span></span> around the keywords. 3) Implement <span> with CSS. Add classes to default.css 4) Old help has this implemented but with a C++ class User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Olivier Hallot committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/+/635750a0cda2e9f6f906e10e33a087b579a74ba8%5E%21 tdf#115663 Syntax highlight in BASIC code examples