Fully resolve subs and wrap with angle brackets
This commit is contained in:
parent
d9b6c65247
commit
de7961b99c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue