[dev] [EN] Rich text implementation

Goffi goffi at goffi.org
Ven 8 Nov 22:31:08 CET 2013


On 08/11/2013 20:35, Adrien wrote:
> Hi,
>
> great!
>
> On 11/07/2013 04:08 PM, Goffi wrote:
>> - I have added lxml as a dependency
>
> A warning is displayed when a python module for a richtext syntax is
> missing. I guess this is enough and you didn't add these modules as a
> dependency on purpose, because it is a plugin and not mandatory, right?
> As I'm not sure I prefer to point it out and ask for a confirmation.

Yes it's on purpose: the warning is about markdown. If python-markdown 
and python-html2txt are installed, markdown is activated and is the 
default syntax in SŕT, else it's not and XHTML is the default syntax.
I guess we should manage a way to recommand external libraries or plugins.

> Libervia still displays the "raw" message to me (not on libervia.org but
> on my dev version after pulling changes for sat and libervia). It looks
> like the changes to display rich text messages are here, but not those
> to actually put rich text content while sending a message... did I miss
> somethng?!

Only instant messages sent to Libervia are displayed. You can try with 
Gajim for example: the style bouton should be activated, and you can try 
to make a test bold or add color. I'm working now on using it in the 
other direction (Allowing Libervia to send rich text), and after I will 
add it to microbloging.




Plus d'informations sur la liste de diffusion dev