Urgent.News

What's breaking now, across thousands of outlets.

Tech

"Text is not SVG - cannot display": why draw.io labels break in SVG

Short answer. draw.io writes most labels as HTML inside foreignObject elements of the SVG, with a short plain-text copy next to each one as a fallback. Wherever that HTML is not rendered, you see the fallback: one line, cut off, no formatting, no links, plus the warning "Text is not SVG - cannot display". Fix it in the export with Convert Labels to SVG , or by turning off formatted text. Labels…

draw.io creates most labels as HTML within foreignObject elements of SVG files, providing a fallback plain-text copy. When this HTML isn't rendered, the fallback appears: one line, truncated, lacking formatting, links, and the warning "Text is not SVG - cannot display". To fix this in exported SVGs, you can convert labels to native SVG text, turn off formatted text and word wrap, or embed fonts.

However, some labels cannot be converted due to containing links, lists, tables, or background colors. Confluence displays these SVGs as flat images, showing labels correctly but making links ineffective due to how it handles images with clickable elements. Solutions include using draw.io's "Convert Labels to SVG" feature, exporting to PDF and converting via a tool like Inkscape, or employing apps that render SVGs as live HTML in environments like Confluence.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

The On-Call Handoff Note That Fits in Five Lines

Monday, 8:02 AM. Your on-call week starts, and the only message from the last shift says "all good, a few alerts, nothing major." Twenty minutes later the same alert fires again, and you have no idea…

  • On-call handoff note is five lines max
  • Covers status, alerts, changes, issues, questions
  • Written immediately after shift ends

Building small, useful sites in public: remote jobs, games, and dev tools

Hi, I'm Humilton. I build small, useful sites in public and I'm here to learn from other developers, not just to promote links.

  • Humilton creates small, practical websites for public use
  • VJob aggregates remote jobs from multiple public APIs
  • Seeking feedback on useful small tools and remote job board features

Prince of Persia: US server exposed

Prince of Persia maintained a server in the United States for months and almost nobody noticed it outside a small circle of researchers.

  • Secret server of Prince of Persia game series found in US
  • Semperis discovered command and control server in August
  • Multi-layered network uses anonymous infrastructure

More from Friday 23 October →