Fully resolve subs and wrap with angle brackets

This commit is contained in:
Leonard Smith 2021-05-07 19:37:36 -05:00
parent d9b6c65247
commit de7961b99c
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ class UlbXmlImportHandler
$word = $this->subs[ $key ];
// Do the actual sub replacement in the phrase
$result = str_replace( $key, "[$word->id]", $result );
$result = str_replace( $key, "<$word->ulb>", $result );
}
// Strange.. the <w> node value has a [X] in it, but no sub match
else