Markdown reader: lone-marker list after a blank line, star emphasis across lines, Markdig slow paths

Offen
#126 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
csharp
Bereich
backend

Rechercherichtung

Start by reading the Markdown reader and its tests for list markers and emphasis across line breaks; compare the reported examples with Pandoc behavior and the existing handling of +. Then investigate how Markdig handles the repeated-link, large-table, and deep-list inputs. Done means the reported cases are handled or reported as requested, with hostile-input slow paths considered; the issue does not name files or tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

From the final PR #73 review (no text is lost in either case; structure differs from Pandoc with no finding):

  • A lone list marker followed by marker-and-text lines after a blank line (Text⏎⏎-⏎- b, also * and 1.) reads as one text paragraph - - b, while Pandoc reads an empty item and item b. Read it as a list, or report it as + already is.
  • Text⏎*⏎* b stays text, while Pandoc reads emphasis across the line break. Report it.
    Also noted in the review rounds: Markdig's own slow paths on hostile input ([a]( repeated 32K times ≈ 4 s, very large tables, deep lists) are not guarded; consider input-size limits.
Vorherrschende Sprache
C#
Sterne
0
Forks
0
Ø Merge
1 Std. 43 Min.
Gemergte PRs (30 T.)
43

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus sillsdev/SIL.TextEditing

Alle Issues in sillsdev/SIL.TextEditing

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

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