Skip to content

Fix: validate width/height is numeric before converting in [[File:]]#27

Merged
TrueBrain merged 1 commit intomainfrom
fix-non-numeric-width
Apr 9, 2022
Merged

Fix: validate width/height is numeric before converting in [[File:]]#27
TrueBrain merged 1 commit intomainfrom
fix-non-numeric-width

Conversation

@TrueBrain
Copy link
Copy Markdown
Owner

If it is not a valid number, simply ignore it. It is better to
render slightly incorrect than to crash.

If it is not a valid number, simply ignore it. It is better to
render slightly incorrect than to crash.
@TrueBrain TrueBrain merged commit 7f58ed4 into main Apr 9, 2022
@TrueBrain TrueBrain deleted the fix-non-numeric-width branch April 9, 2022 08:58
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

Successfully merging this pull request may close these issues.

1 participant