1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-24 01:42:10 +00:00

Fix regex for stacked <dt> with id attributes

This commit is contained in:
Rohan Kumar 2023-11-04 17:04:07 -07:00
parent dc27ce8b5d
commit f98709272a
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -29,8 +29,8 @@
Sometimes I want multiple described terms for a set of descriptions
in a description list
-->
{{- $combinedTerm := `<dt>(.*) OR (.*)</dt>` -}}
{{- $splitTerm := `<dt>$1</dt><dt>$2</dt>` -}}
{{- $combinedTerm := `<dt([^>]*)?>(.*) OR (.*)</dt>` -}}
{{- $splitTerm := `<dt$1>$2</dt><dt>$3</dt>` -}}
<!--
Descriptive footnote link names, remove unused class, put