YAML filter skips single quote at beginning of string

Created by: nvloff

Hey,

Given the following YAML file:

test: "'s house"

The filter produces

<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="yml/example_single_quote.yml" source-language="en-us" target-language="fr-fr" datatype="x-text/x-yaml">
<body>
<group id="sg1">
<trans-unit id="tu1" resname="test" xml:space="preserve">
<source xml:lang="en-us">s house</source>
<target xml:lang="fr-fr">s house</target>
</trans-unit>
</group>
</body>
</file>
</xliff>

This looks like a valid YAML and the beginning single quote should be preserved.

Assignee Loading
Time tracking Loading