XHTML 1.1 compliance

Discussion corner for Developers of Serendipity.
Post Reply
bse

XHTML 1.1 compliance

Post by bse »

Most things are XHTML 1.1 compliant already or are easy to make compliant.

However the remoterss plugin can't be configured to not use the target attribute in its links, but it doesnt exist in XHTML 1.1.

It's however easy to fix: Change the default target from "_blank" to none and omit the attribute if empty, i.e.

.(empty($target)?:'':' target="'.$target.'"')
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: XHTML 1.1 compliance

Post by garvinhicking »

Thanks a lot for this info! I committed support to that in version 1.2 of the plugin in our SVN repository.

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/
Post Reply