On Wed, 29 Apr 2020 16:57:43 +0100 Peter Flynn <pe...@silmaril.ie> said:

> On 29/04/2020 16:15, Carsten Haitzler wrote:
> [...]
> > it isn't actually necessary. evas's textblock parser is super-forgiving.
> > it's just that its a tag that doesnt need a closing tag. so you dont do
> 
> Right, just like the original HTML, you could always omit </p> because 
> it was SGML and them's the rules.
> 
> > <p>xxxx</p>
> > <p>yyyy</p>
> > 
> > but
> > 
> > xxxx
> > <ps/>
> > yyyy
> > 
> > textblock will be just as happy with
> > 
> > xxxx
> > <ps>
> > yyyy
> 
> Or the literal xxxx
yyyy? (there is an actual x2029 in between the xxxx 
> and yyyy).

no. newlines/paragraph separators need to be explicit format commands as they
modify format. the strings are precisely a "display exactly this string exactly
as i give it - control chars and all without interpreting them to modify the
formatting UNLESS it's in a tag - then it's a command to modify formatting". so
you have to EXPLICITLY put in tags anything that modifies format and doesn't
just stuff another unicode char onto the pile to the appended at the end of the
string.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - ras...@rasterman.com



_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to