wellenvogel / avnav

using the raspberry pi as a nav computer
MIT License
87 stars 27 forks source link

HTML-tags in python string #329

Closed kdschmidt1 closed 7 months ago

kdschmidt1 commented 8 months ago

Hi Andreas, is it possible to create strings in python-plugins including html-tags (i.e.s="running <b>fine</b>") that can be used for example in api.setStatus()??

currently the webpage is showing in this case <span class="statusInfo">running &lt;b&gt;fine&lt;/b&gt;</span> as OuterHtml w/o interpreting the tag. regards kd

wellenvogel commented 8 months ago

not, this is not possible. The intention is to use the status for that - showing grey/yellow/red/green. So if everything is ok set the status to NMEA and it will be green.