Loading...
 
Skip to main content

line 1504 of wikiplugin_img.php appends px regardless of what width is

Status
Open
Subject
line 1504 of wikiplugin_img.php appends px regardless of what width is
Version
master
Category
  • Bug
Feature
Edit interface (UI)
Resolution status
New
Submitted by
Jeffory Orrok
Lastmod by
Jeffory Orrok
Rating
(0)
Description
if you set width="21%" in a plugin image tag the resulting div tag for the desc will read <div class="mini" style="max-width: 100%; width:21%px;"> which will result in the width attribute being ignored. A quick and dirty fix to line 1504 might be to replace "px" with (is_numeric($width) ? "px" : "")
Importance
5
Easy to solve?
10 easy
Priority
50
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8615
Created
Thursday 28 March, 2024 22:54:43 UTC
by Jeffory Orrok
LastModif
Thursday 28 March, 2024 23:13:41 UTC


Show PHP error messages