summaryrefslogtreecommitdiffstats
path: root/src/poem
diff options
context:
space:
mode:
Diffstat (limited to 'src/poem')
-rw-r--r--src/poem/recite.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poem/recite.rs b/src/poem/recite.rs
index 89f71c8..422238f 100644
--- a/src/poem/recite.rs
+++ b/src/poem/recite.rs
@@ -44,7 +44,7 @@ impl Reciteable for Poem {
let bytes = word.as_bytes();
while idx < word.len() {
let c = bytes[idx] as char;
- if !c.is_alphanumeric() {
+ if !c.is_alphanumeric() && c != '_' {
break;
}
name.push(c);