CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#11880] content_image tag should accept empty value for alt parameter

avatar
Created By: Ruud van der Velden (ruudvdvelden)
Date Submitted: Thu Aug 30 16:18:05 -0400 2018

Assigned To:
Version: 2.2.8
CMSMS Version: 2.2.8
Severity: Trivial
Resolution: Fixed
State: Open
Summary:
content_image tag should accept empty value for alt parameter
Detailed Description:
And alt parameter is often required for valid html. And emtpy value for alt is
allowed. Hence it would be nice if the content_image tag doesn't dismiss
additional tags that have no value.

Examples:

Good:
{content_image block=foo dir=images alt="foo"} -->
<img src="http://[removed]/cmsms2/uploads/images/logo1.gif" alt="foo"/>

Wrong:
{content_image block=foo dir=images alt=""} -->
<img src="http://[removed]/cmsms2/uploads/images/logo1.gif"/>

Expected: <img src="http://[removed]/cmsms2/uploads/images/logo1.gif" alt="" />


History

Comments
avatar
Date: 2018-10-22 17:58
Posted By: Robert Campbell (calguy1000)

should be fixed for CMSMS 2.3
      
Updates

Updated: 2018-10-22 17:58
resolution_id: => 7