crash on certain markup
See original GitHub issueLibrary crashes on following markup with a TypeError: Cannot set property '0' of undefined
:
var Microformats = require('microformat-node');
Microformats.get({
html: '<div class="hentry"><div class="dt-">0AM<div class="dt-">x</div></div></div>'
}, function (err, data) {
console.log(err, data);
});
narrowed down sample from: http://lbpm.com/
also happening on www.nesbitts.com, www.browsbyfay.com, decijisajam.rs, phytocarestetica.com
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
PDF crashes on markup - Apple Community
I own an iPad 9th Gen. I have been facing an issue while I markup on the PDFs in Files. The PDF refreshes...
Read more >Markup crashing files app : r/iPadPro - Reddit
I'm using the files app and markup to make comments on papers. Since the last update it keeps crashing and losing all the...
Read more >Android 12 Markup App crashing when Bitwarden is ... - GitHub
The Markup App (System App) crashes with an UnknownFormatConversionExcpection. This only happens when Bitwarden is selected as auto-filling ...
Read more >Photo Markup-Draw & Annotate crashes - what to do? Tips ...
Photo Markup-Draw & Annotate keeps crashing and you don't know why? Then find out here what you can do if Photo Markup-Draw &...
Read more >Revu crashes when editing an autosized textbox or callout ...
Under Tools, select the Markup tab. Uncheck Autosize Text Box and Callout Markups and then select OK. You should no longer experience this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Janpot Chill 😃 @sebilasse is just offering a workaround for you and others that experience this issue, no need to be rude. Strangers can’t possibly know your skill level and even then – issues may affect more people than the one reporting it. Instead you could maybe check if #37 actually fixes this issue?
Hi @Janpot thanks for finding this issue and providing the example and @sebilasse for providing the the fix. I have updated the underlying parsing and add a new test.
Its now in
microformats-node
v2.0.1Any other problems let me known
Glenn