Content encoding

Hi!

I just had a look at the vocabulary:
http://jasnell.github.io/w3c-socialwg-activitystreams/activitystreams-vocabulary/

For the content it says: "A natural language description of the object
content. HTML markup, including visual elements such as images, MAY be
included."

I see a problem with this. If it contains HTML elements then linebreaks
shouldn't be respected. But if it contains only plain text then
linebreaks have to be respected.

You can't simply do a detection since it could be possible that you had
an implementation that uses only text - but someone put an HTML element
into the text as part of a conversation.

I would suggest an additional content-type value.

Michael

Received on Tuesday, 27 October 2015 08:06:47 UTC