Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.9.2
-
Fix Version/s: None
-
Component/s: Database activity module
-
Labels:None
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
Description
Peter
,
This may be related to my previously reported bug. If I select some text and change the font (e.g., <span style="font-family: tahoma,arial,helvetica,sans-serif;">a[ggeloV</span>), when I save the record the font has not changed. When I go back to the html, all that is there is <span>a[ggeloV</span>.
I learned the problem when importing data. Even something as simple as <span style="font-weight: bold;">Angeles</span> is being removed.
I am in a real predicament here. The Fall semester is right around the corner and I have tons of data to import into Moodle. The bug is evidently a subroutine that tries to clean up my data. In the short term, can you please email me where this happens in Moodle so I can comment it out for now. If not I am in real trouble; I keep all my data external so I can make global style changes and reimport, so I have a lot of importing to do. Thanks.
Bill
Bill,
I tested adding first
<font face="impact">test1<span style="font-family: tahoma,arial,helvetica,sans-serif">test some text</span> test2</font>
and then
<span style="font-family: impact">test1<span style="font-family: tahoma,arial,helvetica,sans-serif">test some text</span> test2</span>
to htmlarea (the latest weekly 1.9.2+ with IE7 and FF3 ) and could not reproduce this. Both seem to work ok...font is changed inside span tags.
Maybe some filter is causing your problem?