×
Blue Eagle 1.5.2 Released (11 Dec 2018)

The Kunena team has announce the arrival of Kunena Blue Eagle 1.5.2 which is now available for download as a native Joomla extension for Kunena 5.1. This version addresses most of the issues that were discovered in K 1.5.1 and issues discovered during the development stages of K 1.5.2.

× Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Idea Rss Feed Validator

  • Trony
  • Trony's Avatar Topic Author
  • Offline
  • Junior Member
  • Music and Electronic Devices Designer.
More
2 years 7 months ago #1 by Trony
Rss Feed Validator was created by Trony
I have submitted Rss Feed of Kunena on this www.feedvalidator.org/ and it has found this error:

style attribute contains potentially dangerous content: max-height


So I modded:

1) com_kunena ► template ► system ► layouts ► attachment ► item ► image.php
 
$doctype    = $document->getType();
// Only render for HTML output
if ($doctype == 'html') {
$attributesLink = $config->lightbox ? ' rel="lightbox[imagelink' . $attachment->mesid . ']"' : '';
$attributesImg = ' style="max-height:' . (int) $config->imageheight . 'px;"';
}
 

2) com_kunena ► template ► system ► layouts ► bbcode ► image ► default.php
 
$doctype    = $document->getType();
// Only render for HTML output
if ($doctype == 'html') {
$attributesLink = $config->lightbox ? ' rel="lightbox[gallery]"' : '';
$attributesImg = ' style="max-height: '. (int) $config->imageheight . 'px;"';
$attributesImg .= $size ? ' width="' . (int) $size . '"' : '';
}
 

Now Rss Feed is Valid.
(Tool says "Self reference doesn't match document location" but I don't know how to Fix it)

What do you think ?!?

Music and Electronic Devices Designer. Drum and Bass Addict. Creative Mind as Lifestyle. Cat in past Life. Soccer, Ice Hockey and Snowboard Lover.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.083 seconds