edittable
edittable copied to clipboard
image size parsing bug
There is a problem parsing images with specified height only, which is specified in the format {{image.png?0x100}} (where 100 is the image height, can be any number). Scenario:
- Edit table, set cell content to 100-px-tall image
{{sample.jpg?0x100}}, save table -- everything is OK. - The code of the page is OK, it's indeed
{{sample.jpg?0x100}}. - Edit the table again, and the parser loads the same cell as
{{sample.jpg}}despite the actual code is{{sample.jpg?0x100}}. Obviously there is an error in parsing?0x100part.
Specifying width-only {{image.png?100}} and both width and height {{image.png?100x100}} works OK.