Skip to content

feat: remove GitLab image dimension text#264

Open
greatestview wants to merge 1 commit intopiceaTech:masterfrom
greatestview:feat/remove-gitlab-image-dimensions-hint
Open

feat: remove GitLab image dimension text#264
greatestview wants to merge 1 commit intopiceaTech:masterfrom
greatestview:feat/remove-gitlab-image-dimensions-hint

Conversation

@greatestview
Copy link
Copy Markdown

At some time GitLab introduced the feature to specify inline image attributes such as ![…](…){width=... height=...}. With the current version of this project, they are migrated as text, which is ugly and has no use. This PR adjusts the regex targeting attachments to also target attributes in {…}, so that they won’t appear as text after migration.

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