Non-core contributed modules

Geshi

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.8.2
  • Fix Version/s: None
  • Labels:
    None
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_18_STABLE

Description

When I use geshi filter and wrhite something like this

<span syntax="pascal" lunenumbers="yes">
read;
</span>

I get something like this:

read<img alt="[[no]]" width="15" height="15" src="http://vstudent.net/pix/s/no.gif" />

I found that the problem is with signs:

Can you help me?

Activity

Hide
Karol Pawelski added a comment -

Ups ... I mean
<span syntax="pascal" linenumbers="yes">

Show
Karol Pawelski added a comment - Ups ... I mean <span syntax="pascal" linenumbers="yes">
Hide
Karol Pawelski added a comment -

You can see this bud on this site : http://vstudent.net/mod/assignment/view.php?id=66

But remember that the site is working between 8 am and 12 pm (it is my desktop computer - for now )

Show
Karol Pawelski added a comment - You can see this bud on this site : http://vstudent.net/mod/assignment/view.php?id=66 But remember that the site is working between 8 am and 12 pm (it is my desktop computer - for now )
Hide
Bruce Webster added a comment - - edited

The default smilies include some silly pattern replacements such as
( h )
( n )
( y )
( )
( martin )

note: extra spaces added to stop smilies here!!

These are just way too common a pattern to replace.
We had lecturers trying to type a( n ) to mean a or an and they got "a".

At least in 1.9.x you can get rid of these or change the pattern in admin/appearance/html editor (stored in mdl_config table name=emoticons)
I think back in 1.8 it required a code hack to weblib.php

Show
Bruce Webster added a comment - - edited The default smilies include some silly pattern replacements such as ( h ) ( n ) ( y ) ( ) ( martin ) note: extra spaces added to stop smilies here!! These are just way too common a pattern to replace. We had lecturers trying to type a( n ) to mean a or an and they got "a". At least in 1.9.x you can get rid of these or change the pattern in admin/appearance/html editor (stored in mdl_config table name=emoticons) I think back in 1.8 it required a code hack to weblib.php

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated: