aboutsummaryrefslogtreecommitdiff
path: root/lib/text.nom
diff options
context:
space:
mode:
Diffstat (limited to 'lib/text.nom')
-rw-r--r--lib/text.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/text.nom b/lib/text.nom
index 982db63..cbd0b3f 100644
--- a/lib/text.nom
+++ b/lib/text.nom
@@ -12,7 +12,7 @@ action [%texts joined with %glue]
return table.concat(text_bits, \%glue)
parse [joined %texts, %texts joined] as: %texts joined with ""
-compile [capitalized %text capitalized] to
+compile [capitalized %text, %text capitalized] to
{expr:"(\(%text as lua expr)):gsub('%l', string.upper, 1)"}
compile [%text with %sub instead of %patt, %text s/%patt/%sub] to