mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Fix regex for stacked <dt> with id attributes
This commit is contained in:
parent
dc27ce8b5d
commit
f98709272a
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@
|
||||||
Sometimes I want multiple described terms for a set of descriptions
|
Sometimes I want multiple described terms for a set of descriptions
|
||||||
in a description list
|
in a description list
|
||||||
-->
|
-->
|
||||||
{{- $combinedTerm := `<dt>(.*) OR (.*)</dt>` -}}
|
{{- $combinedTerm := `<dt([^>]*)?>(.*) OR (.*)</dt>` -}}
|
||||||
{{- $splitTerm := `<dt>$1</dt><dt>$2</dt>` -}}
|
{{- $splitTerm := `<dt$1>$2</dt><dt>$3</dt>` -}}
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Descriptive footnote link names, remove unused class, put
|
Descriptive footnote link names, remove unused class, put
|
||||||
|
|
Loading…
Reference in a new issue