edittable icon indicating copy to clipboard operation
edittable copied to clipboard

image size parsing bug

Open sataix opened this issue 5 years ago • 0 comments

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:

  1. Edit table, set cell content to 100-px-tall image {{sample.jpg?0x100}}, save table -- everything is OK.
  2. The code of the page is OK, it's indeed {{sample.jpg?0x100}}.
  3. 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 ?0x100 part.

Specifying width-only {{image.png?100}} and both width and height {{image.png?100x100}} works OK.

sataix avatar Jun 15 '20 20:06 sataix