summaryrefslogtreecommitdiffstats
path: root/src/poem/recite.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/poem/recite.rs')
-rw-r--r--src/poem/recite.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/poem/recite.rs b/src/poem/recite.rs
index d95af92..45d4d2e 100644
--- a/src/poem/recite.rs
+++ b/src/poem/recite.rs
@@ -52,6 +52,11 @@ impl Reciteable for Poem {
};
*word = word.replace(name.as_str(), envar.as_str());
}
+
+ // For any words in single quotes strings that began with a '$',
+ // need to replace the ASCII SO placeholder with the '$' char once
+ // more
+ *word = word.replace('\x0e', "$");
}
// Check for aliases