Templating issue - code fences are getting wiped out
@mikeerickson arbeitet bereits daran.
Seit 10.1.2023.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 204
- Forks
- 82
- Ø Merge
- 22 Std. 27 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
As reported in this, thread. He is seeing two issues:
) the well-known bug related to --- being replaced with five stars. Minimally, this should only replace frontmatter at the front of the file. Not globally, in the middle of lines.
2) code fence markers in a template are being completely wiped out by the template rendering.
https://discord.com/channels/763107030223290449/1043533276503080981/1062448128093065318
Here's a test case template which displays both errors:
https://discord.com/channels/763107030223290449/1043533276503080981/1062221709693956127
and the text which should render if it worked correctly (for the test case) -- assuming 2023, and 01 were entered for the prompts:
https://discord.com/channels/763107030223290449/1043533276503080981/1062225085664088134
cc: @antonyskylar
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.