ArthurHub / ArthurHub/HTML-Renderer

Stack Overflow reading huge old HTML

Offen
#90 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement HTML
Vorherrschende Sprache
C#
Sterne
1.4k
Forks
550
Ø Merge
14 T. 9 Std.
Gemergte PRs (30 T.)
1

Beschreibung

I had a performance problem displaying huge HTML , then I was looking for huge simple HTML in english.
I found [http://www.gutenberg.org/files/1661/1661-h/1661-h.htm](http://www.gutenberg.org/files/1661/1661-h/1661-h.htm) and I tried and got StackOverflow error.
I knew this HTML was so old therefore it might be cause error on parsing.

I suggest using [SGMLReader](https://github.com/MindTouch/SGMLReader) for parsing any HTML.
I'm using it for many scraping projects and results are so reasonable.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Reproduce the StackOverflow error while rendering the Gutenberg HTML at http://www.gutenberg.org/files/1661/1661-h/1661-h.htm, then trace the HTML parsing and rendering entry points. Compare the current behavior with the proposed SGMLReader approach; done means the large document renders without a stack overflow and its existing output remains reasonable.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
frontend, performance
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.