Advertisement:

Author Topic: img parameter bug?  (Read 123 times)

Offline Toebiash

  • Newbie
  • *
  • Posts: 2
img parameter bug?
« on: November 10, 2018, 05:47:51 AM »
Hello guys,

last months I'm testing the ver 2.1., I have version to commit aea75f7 from Oct 27.
When I use the "quick edit" on post where is the img tag / tags with a parameter "width" or "height", everithing is fine.
But when I use "modify" on the same post, all the parameters width or height resets to zero.

e.g.
I have this code in post:
Code: [Select]
[img height=50]https://www.comicsdb.cz/pics/7333/b_735-81403a44c1ad569a77b9f8ebc419b6cb-1540553444.jpg[/img]
after I use  the "quick edit" and then save, get these, thats OK:
Code: [Select]
[img height=50]https://www.comicsdb.cz/pics/7333/b_735-81403a44c1ad569a77b9f8ebc419b6cb-1540553444.jpg[/img]
but after I use "modify", I immediately get these:
Code: [Select]
[img height=0]https://www.comicsdb.cz/pics/7333/b_735-81403a44c1ad569a77b9f8ebc419b6cb-1540553444.jpg[/img]

Offline albertlast

  • Development Contributor
  • Jr. Member
  • *
  • Posts: 351
Re: img parameter bug?
« Reply #1 on: November 10, 2018, 06:02:49 AM »
Was able to reproduce this with the newest release,
open an issue on github: https://github.com/SimpleMachines/SMF2.1/issues/5131