Page 1 of 1

[2.0.0beta2] Button URL and Description: wrong HTML

Posted: Thu Apr 24, 2014 1:40 pm
by u1amo01
Where:
Non-WYSIWYG-Editor

How:
I write some Text, mark one word, press button "url", enter the URI, enter a description and get wrong code. For title/tooltip it works.

Result:

Code: Select all

<a href="http://s9y.org/" title="title_text">Linktextdescription_text</a>
PS: it's no real 2.0beta2 anymore, it'S a snapshot from some days ago. And I run the latest version of serendipity_event_typesetbuttons Vers. 0.21

Re: [2.0.0beta2] Button URL and Description: wrong HTML

Posted: Thu Apr 24, 2014 1:42 pm
by garvinhicking
Hi!

What is wrong about this, exactly? :)

Regards,
Garvin

Re: [2.0.0beta2] Button URL and Description: wrong HTML

Posted: Thu Apr 24, 2014 1:45 pm
by Timbalu
u1amo01 wrote:Non-WYSIWYG-Editor
Name it PLAIN Editor! :wink:

Not confirmed here:

Code: Select all

<a href="http://google.de" title="nichts besonderes">ein Krake</a>

Re: [2.0.0beta2] Button URL and Description: wrong HTML

Posted: Thu Apr 24, 2014 1:51 pm
by u1amo01
Ah, the problem of writing questions or reports good in foreign languages ... sorry :roll:

In the former version of s9y the question about description only pops up when there is no text marked. When a word is marked, only "title/tooltip" pops up.

So when you have a word marked AND fill in the field description, you end up with nonsense in the entry.

Re: [2.0.0beta2] Button URL and Description: wrong HTML

Posted: Thu Apr 24, 2014 1:54 pm
by garvinhicking
Hi!

Ah, I see. This is now done using jquery, so that scenario might not be covered. I'll add it to our tracker, thanks for reporting.

REgards,
Garvin

Re: [2.0.0beta2] Button URL and Description: wrong HTML

Posted: Thu Apr 24, 2014 1:56 pm
by u1amo01
Thank you.

And thanks for telling me the secret ;-) name of my favorite s9y-editor

Re: [2.0.0beta2] Button URL and Description: wrong HTML

Posted: Thu Apr 24, 2014 3:28 pm
by garvinhicking
Fixed in recent github