Last modified: 2014-02-12 23:32:50 UTC
When creating a page with /CR/LF, both chars get preserved during serialization to db. Then, after a subsequent no-edit save (or editing text other than the /CR/LF), the /CR is removed when serialized. This matters most for our use cases when the said control chars are in semantic property values as this inconsistency causes our custom background processes to detect a change in what should be an immutable property value after it's creation. This is reproduceable with a regular wiki page w/o using semantic forms or SMW syntax. Thanks
Update: this seems to be a problem with maybe the API ask action. The page still has the <CR>, but ask returns the content with it removed on the second call. How to reproduce Create a page with a carriage return followed by a line feed (<CR><LF>). Save page. Use API ask query to fetch page and verify <CR> still exists. Start edit session Save w/o making edits Use API ask query to fetch page and verify <CR> still is removed.
This seems like a SMW/forms prob now, so will close and create anew.