OWASP-GoatDroid-Project icon indicating copy to clipboard operation
OWASP-GoatDroid-Project copied to clipboard

Code Syntax Highlighting

Open nvisium-jack-mannino opened this issue 11 years ago • 1 comments

Code syntax formatting and highlighting is broken within the GoatDroid Web UI. This is a JavaScript issue.

nvisium-jack-mannino avatar Jul 25 '13 21:07 nvisium-jack-mannino

To highlight stuff, I just use:

Some Stuff

We can change this in your primary css so that it's defined as like

span > .highlight { background-color:yellow }

Then you just have to do

Some Stuff

For the second part, the jquery snippet stuff, just need the pre class to match up with the one you defined in the primary JS file you are including instead of Ruby.

On Thu, Jul 25, 2013 at 5:32 PM, Jack Mannino [email protected]:

Code syntax formatting and highlighting is broken within the GoatDroid Web UI. This is a JavaScript issue.

— Reply to this email directly or view it on GitHubhttps://github.com/jackMannino/OWASP-GoatDroid-Project/issues/9 .

cktricky avatar Jul 25 '13 21:07 cktricky