Kunena 6.2.5 & module Kunena Latest 6.0.7 released

The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.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
8 years 2 days 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
Code:
$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
Code:
$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.

Time to create page: 0.323 seconds