Skip to content

Fix broken syntax highlight with highlight.js > 9.16 - #775

Merged
juliusknorr merged 2 commits into
masterfrom
bugfix/noid/highligh
Apr 22, 2020
Merged

Fix broken syntax highlight with highlight.js > 9.16#775
juliusknorr merged 2 commits into
masterfrom
bugfix/noid/highligh

Conversation

@juliusknorr

Copy link
Copy Markdown
Member

@juliusknorr

Copy link
Copy Markdown
MemberAuthor

/backport to stable18

@juliusknorr

Copy link
Copy Markdown
MemberAuthor

/compile /js

@nextcloudnextcloud deleted a comment from cypressBotApr 20, 2020
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@cypress

cypressBot commented Apr 22, 2020

Copy link
Copy Markdown



Test summary

12000


Run details

Projecttext
StatusPassed
Commit300c7ef
StartedApr 22, 2020 3:50 PM
EndedApr 22, 2020 3:51 PM
Duration00:52 💡
OSLinux Ubuntu Linux - 18.04
BrowserElectron 78

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@skjnldsv

Copy link
Copy Markdown
Member

Is it known on the Highlight library?

@juliusknorr

Copy link
Copy Markdown
MemberAuthor

It is the CodeBlockHighlight component in tiptap that seems to be not compatible yet, but didn't have time yet to investigate further.

@skjnldsvskjnldsv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good then!

@juliusknorr
juliusknorr merged commit 6f896e5 into masterApr 22, 2020
@juliusknorr
juliusknorr deleted the bugfix/noid/highligh branch April 22, 2020 16:38
@backportbot-nextcloud

Copy link
Copy Markdown

The backport to stable18 failed. Please do this backport manually.

Comment threadpackage.json
"@nextcloud/vue": "^1.5.0",
"escape-html": "^1.0.3",
"highlight.js": "^9.18.0",
"highlight.js": "^9.16.2",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the problem is in highlight.js > 9.16, shouldn't the version be specified as < 9.17 instead? ^ also includes minor release updates, so next time that dependabot runs it will try to update highlight.js again to 9.18.x. Or am I missing something? :-)

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just that I'd like dependabot to bug me about the version 😉 Also we have the package lock comitted, so the version there will be used when installing with npm ci.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just that I'd like dependabot to bug me about the version 😉

Hehe, fair enough ;-)

@juliusknorr

Copy link
Copy Markdown
MemberAuthor

/backport 35b2f07 to stable18

@backportbot-nextcloud

Copy link
Copy Markdown

backport to stable18 in #782 with conflicts ⚠️

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewbugSomething isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to edit code files (e.g., .py, .php, .html)

3 participants

@juliusknorr@skjnldsv@danxuliu