Moodle

Tags in message body are hide (auto-format)

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Not a bug
  • Affects Version/s: 1.5.1
  • Fix Version/s: None
  • Component/s: Forum
  • Labels:
    None
  • Environment:
    All
  • Affected Branches:
    MOODLE_15_STABLE

Description

Unkown tags in message body are hide instead of change symbols < and > to < and > (in auto-format)

I don't know what will happen if write only < symbol

Issue Links

Activity

Hide
Petr Škoda (skodak) added a comment -
  • auto format expects valid html text, you can use < and > only in tags - use < and > instead
  • only allowed tags are kept, the rest is removed during the text cleaning by the KSES engine

closing now, if I understand the report properly, this is not a bug

Show
Petr Škoda (skodak) added a comment -
  • auto format expects valid html text, you can use < and > only in tags - use < and > instead
  • only allowed tags are kept, the rest is removed during the text cleaning by the KSES engine
closing now, if I understand the report properly, this is not a bug
Hide
Dmitry Pupinin added a comment -

Auto format is most usable. Are you agree?

>auto format expects valid html text, you can use < and > only in tags - use < and > instead
Please tell it to our teachers who DON'T KNOW what is html...

>only allowed tags are kept, the rest is removed during the text cleaning by the KSES engine
My opinion is - if tag isn't allowed then < and > should replace with < and > automatically.

Show
Dmitry Pupinin added a comment - Auto format is most usable. Are you agree? >auto format expects valid html text, you can use < and > only in tags - use < and > instead Please tell it to our teachers who DON'T KNOW what is html... >only allowed tags are kept, the rest is removed during the text cleaning by the KSES engine My opinion is - if tag isn't allowed then < and > should replace with < and > automatically.
Hide
Petr Škoda (skodak) added a comment -

If somebody does not understand HTML he/she should IMHO use html editor, that is why it is there, is it?

Show
Petr Škoda (skodak) added a comment - If somebody does not understand HTML he/she should IMHO use html editor, that is why it is there, is it?
Hide
Dmitry Pupinin added a comment -

html editor is evil IMHO
It's not for slowly Russian internet...
Usual in forums need only simple text without formating.

Please post in forum this sentence and see bug:
"if a<c then c>a"

Show
Dmitry Pupinin added a comment - html editor is evil IMHO It's not for slowly Russian internet... Usual in forums need only simple text without formating. Please post in forum this sentence and see bug: "if a<c then c>a"
Hide
Frank Ralf added a comment -

I think this is a bug. Yesterday I lost half of a lengthy posting only because the cited SQL statement contained a "<=" expression

At least the filter should only remove invalid characters instead of deleting everything after and including the "<".

Regards,
Frank

Show
Frank Ralf added a comment - I think this is a bug. Yesterday I lost half of a lengthy posting only because the cited SQL statement contained a "<=" expression At least the filter should only remove invalid characters instead of deleting everything after and including the "<". Regards, Frank

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: