-
Bug
-
Resolution: Duplicate
-
Trivial
-
None
-
1.9.4
-
None
-
Windows XP SP2
-
Microsoft SQL
-
Moderate
-
MOODLE_19_STABLE
When I use the GeShi filter offered here at moodle.org and write something like this into the textarea in text or also in html mode
[code csharp linenumbers]
public class TestClass
{
<placeholder for an indent mostly a div>private int i; // This line in indented to the right !! please notice that the presentation is crappy (I know)
<--------another placeholder for anpther indent-----> // Notice that the placeholders are not meant to be HTML tags !! I hope you get the idea
}
[/code]
Whether or not I <pre> the above in any way I get the following:
public class TestClass
{
<actual html div tag for indention>private int i; // The <div>tags and all other html elements are visible but the C# code is perfectly highlighted !!!!!!!!!!!!
<actual html div tag for indention>// Notice that these placeholders ARE meant to be REAL VISIBLE HTML TAGS
}
THIS WAS NOT EXPECTED !!
There should be a perfectly highlighted little C# class with indention to the right (both commented lines)
Was isn't the indention preserved in the final output within a e.g. Multiple-Choice question.
I tried several hours now to get this done. I looked on moodle.org, GeSHi's home, Nigel's website (dev of GeSHi) for the solution but nothing.
Writing <div> in html mode or formatting idention in text are the same mess.
Or just point out the solution if there is any !
Please help me ! Please !
Sincerely yours,
Johannes
- duplicates
-
MDL-20750 Problem with keeping the Indentation in Forums and "Online text" Assignments...
-
- Closed
-