[2.0.0beta2] Button URL and Description: wrong HTML

Found a bug? Tell us!!
Post Reply
u1amo01
Regular
Posts: 273
Joined: Fri Sep 28, 2007 3:55 pm
Location: Kurpfalz, Germany
Contact:

[2.0.0beta2] Button URL and Description: wrong HTML

Post 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
Last edited by u1amo01 on Thu Apr 24, 2014 1:43 pm, edited 1 time in total.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

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

Post by garvinhicking »

Hi!

What is wrong about this, exactly? :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

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

Post 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>
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
u1amo01
Regular
Posts: 273
Joined: Fri Sep 28, 2007 3:55 pm
Location: Kurpfalz, Germany
Contact:

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

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

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

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
u1amo01
Regular
Posts: 273
Joined: Fri Sep 28, 2007 3:55 pm
Location: Kurpfalz, Germany
Contact:

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

Post by u1amo01 »

Thank you.

And thanks for telling me the secret ;-) name of my favorite s9y-editor
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

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

Post by garvinhicking »

Fixed in recent github
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply