Thread:Extension talk:Wiki Object Model/'Special Charaters' when querying template fields

Hi,

I query a template field as follows: api.php?action=womget&title=Alexander_Gesinn&xpath=//template[@name="Person_01_00"]/template_field[@key="Username"]

Template:

As a result I get:   Username=Alex

Why do I get a \n| at the end of the returned value? When I remove the CRLF in the template I still get the Pipe symbol. Is this a bug?

MW 1.16.x, WOM r104210