abbr tags mangled in source code

abbr tags mangled in source code

by ~ Longbarrow ~ -
အကြောင်းပြန်မှု အရေအတွက်: 6

Hi

When I create a web page in Moodle 1.5 using the editor, I go into the code view and add <abbr> tags where necessary eg:

<abbr title="world wide web">WWW</abbr>

However, when the page is processed the source code looks like this:

<abbr title="world wide web" />WWW</abbr />

and as a result, the page's code doesn't validate.

Is there a work-around for this? Am I missing something obvious?

Thanks

~ Longbarrow ~

ပျှမ်းမျှအဆင့်သတ်မှတ်ချက်များ: -
~ Longbarrow ~ ထံသို့ အကြောင်းပြန်ရာတွင်

Re: abbr tags mangled in source code

by Helen Foster -
Core developers ၏ ရုပ်ပုံ Documentation writers ၏ ရုပ်ပုံ Moodle HQ ၏ ရုပ်ပုံ Particularly helpful Moodlers ၏ ရုပ်ပုံ Plugin developers ၏ ရုပ်ပုံ Testers ၏ ရုပ်ပုံ Translators ၏ ရုပ်ပုံ
Hmm, I'm unable to reproduce the problem you describe. Are you using 1.5.2?
Helen Foster ထံသို့ အကြောင်းပြန်ရာတွင်

Re: abbr tags mangled in source code

by ~ Longbarrow ~ -
"Moodle 1.5 + (2005060201)" according to the admin page. Maybe it's been fixed in 1.5.2

Thanks for trying.
~ Longbarrow ~ ထံသို့ အကြောင်းပြန်ရာတွင်

Re: abbr tags mangled in source code

by ~ Longbarrow ~ -

We have recently upgraded to 1.6 development (2005101200) . The problem is still happening.

Does anyone have any further ideas?

~ Longbarrow ~ ထံသို့ အကြောင်းပြန်ရာတွင်

Re: abbr tags mangled in source code

by Helen Foster -
Core developers ၏ ရုပ်ပုံ Documentation writers ၏ ရုပ်ပုံ Moodle HQ ၏ ရုပ်ပုံ Particularly helpful Moodlers ၏ ရုပ်ပုံ Plugin developers ၏ ရုပ်ပုံ Testers ၏ ရုပ်ပုံ Translators ၏ ရုပ်ပုံ
Hi,

I'm guessing you're using Internet Explorer, which doesn't support the abbr tag. The HTML editor seems to rely on the browser's handling of a particular tag.

Perhaps you could use the acronym tag instead?
Helen Foster ထံသို့ အကြောင်းပြန်ရာတွင်

Re: abbr tags mangled in source code

by ~ Longbarrow ~ -

big grin HA!! That's it!! Thank you so much - I thought I was going mad! It's such a relief to find out why it was doing that.

I'm doing a little dance of joy!big grin

Thanks

 

~ Longbarrow ~ ထံသို့ အကြောင်းပြန်ရာတွင်

Re: abbr tags mangled in source code

by Helen Foster -
Core developers ၏ ရုပ်ပုံ Documentation writers ၏ ရုပ်ပုံ Moodle HQ ၏ ရုပ်ပုံ Particularly helpful Moodlers ၏ ရုပ်ပုံ Plugin developers ၏ ရုပ်ပုံ Testers ၏ ရုပ်ပုံ Translators ၏ ရုပ်ပုံ
Thanks for your feedback - it's nice to know you're happy. Apologies for not realising where the problem lay initially.

(Note to self: Must test in IE occasionally wink)