Bugreport for Plugin Wikipedia Finder version 1.2

Found a bug? Tell us!!
Post Reply
hagenroewer
Regular
Posts: 181
Joined: Mon Aug 14, 2006 12:41 am
Contact:

Bugreport for Plugin Wikipedia Finder version 1.2

Post by hagenroewer »

HTML-Mistake in form tag

Source Code:

Code: Select all

<div align='center'><form id='wikipediafinderform' 
                    action='http://de.wikipedia.org/wiki/Spezial:Search' method='get' 
                    style='margin-bottom:0px;'  <input type='hidden' name='search' value='' id='wikipediafinder' />
                <input onmousedown='      getSelectedText(); return false;' 
                    onclick='return false;'
                    type='image' style='height:30px; width:31px;' 
                    src='http://www.soliblog.de/plugins/serendipity_plugin_wikipedia_finder/wikipedia_black.gif' /><br />
                Ein Markiertes Wort in Wikipedia suchen
            </form></div>
Firefox Extension "HTMl Validator" reports
Zeile 370 Zeichen 38 - Warnung: <form> missing '>' for end of tag
Gruß von der Ruhr
Hagen Röwer Dienstlich | XING | LinkedIn
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Bugreport for Plugin Wikipedia Finder version 1.2

Post by garvinhicking »

Hi!

Thanks a lot for your verbose bug report! However, the " />" in the <input> element was correct. What was buggy though was that the closing ">" of the <form> tag was not outputted in cases where you did not configure the use of a 'target' element.

I just committed a fix so that the closing '>' is always emitted, and thus fixing the symtpom of it.

Many thanks for helping to improve Serendipity!

Best 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/
hagenroewer
Regular
Posts: 181
Joined: Mon Aug 14, 2006 12:41 am
Contact:

Post by hagenroewer »

Hi Garvin,

i have a fix:

In file serendipity_plugin_wikipedia_finder.php type after Line 128 a new line 129 with code

Code: Select all

else echo ">";
Gruß von der Ruhr
Hagen Röwer Dienstlich | XING | LinkedIn
Post Reply