question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Breaking changes in 1.1

See original GitHub issue

Hello! Greenkeeper just notified me that github-slugger 1.1 broke npm/marky-markdown; the issue is that in 1.0, unicode emoji characters in headings were being stripped out, but now they’re being converted to HTML entities.

For example, given ## 😄-😄 unicode hyphen unicode:

  • 1.0 rendered --unicode-hyphen-unicode
  • 1.1 now renders 😄-😄-unicode-hyphen-unicode

…which has broken a handful of our tests. Is there a way to get the old behavior? Thanks! 👍

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
wooormcommented, Apr 26, 2016

There’s also github/markup, but I couldn’t find any reference to the jargon word “slug” in those repos.

I’ve included the input/output from wooorm/gh-and-npm-slug-generation and chrisdickinson/emoji-slug-example in the tests locally, and the only difference from the current algorithm seem to be the emoji. I’ll look into integrating mathiasbynens/emoji-regex, and if that fixes things.

0reactions
revincommented, Apr 26, 2016

That might do it. I was reading through https://github.com/vmg/redcarpet/blob/master/ext/redcarpet/html.c#L273-L322 and now have a bunch of tabs open to see what the unicode support situation is on C’s standard library functions. 😕

Read more comments on GitHub >

github_iconTop Results From Across the Web

Planned Breaking Change in Rust 1.1 - Reddit
If Rust were updated every 6 months more projects would become dependent on the situation. Older breaking changes therefore have a higher chance...
Read more >
Breaking Changes · microsoft/TypeScript Wiki - GitHub
These changes list where implementation differs between versions as the spec and compiler are simplified and inconsistencies are corrected. For ...
Read more >
List of Breaking Changes in 1.1.0 - Help - Reveal
[.NET Server] Introduced small changes to the Reveal.Sdk.Dashboard class constructor's overloads to make them more consistent. Now there are three constructor ...
Read more >
Upgrading to v1.1 - dbt Developer Hub
There are no breaking changes for code in dbt projects and packages. ... The only change is to the default value of config...
Read more >
Breaking changes - OpenSearch documentation
“Whitelist” is now “Allow list”; “Blacklist” is now “Deny list”; “Master” is now “Cluster Manager”. If you are still using the outdated terms...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found