Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image size parsing bug #191

Open
sataix opened this issue Jun 15, 2020 · 0 comments
Open

image size parsing bug #191

sataix opened this issue Jun 15, 2020 · 0 comments

Comments

@sataix
Copy link

sataix commented Jun 15, 2020

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 sataix changed the title image size processing bug image size parsing bug Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant