Issue Details (XML | Word | Printable)

Key: MDL-15555
Type: Task Task
Status: Open Open
Priority: Major Major
Assignee: Petr Skoda
Reporter: Petr Skoda
Votes: 2
Watchers: 4
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

stop using span tag for nolink and lang, use the original custom moodle tags

Created: 07/Jul/08 07:09 AM   Updated: 07/May/09 05:10 PM
Return to search
Component/s: HTML Editor
Affects Version/s: 1.9
Fix Version/s: 2.0

Issue Links:
Relates
 

Participants: Martin Dougiamas and Petr Skoda
Security Level: None
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
The problem is that <span>s can not be nested - both because you can not have divs in spans and also it is later impossible to find the matching </span> :-(

The reason for those unfortunate <span class="nolink"> and <span class="lang"> was that html editor did not support custom tags, this is not a cane anymore in tinymce of fckeditor.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Martin Dougiamas added a comment - 11/Dec/08 01:39 PM
Along with this, it would be nice if the filtering system broke up the texts into "linking" and "nolinking" chunks before sending them to the filters, so that the nolink tag always works for all filters.

I guess to be correct for this we need to do either one of these:

1) have all filters declare that they are "linking" type filters or not, so that we just apply to these.
2) change the tag name to "nofilter" and support "nolink" as a undocumented alternative for backward compatibility.


Martin Dougiamas added a comment - 07/May/09 05:10 PM
Suggested syntax:

<nofilter except="mediaplugin multilang"> .... </nofilter>