Merge remote-tracking branch 'origin/5.5'
[scilab.git] / scilab / modules / gui / src / java / org / scilab / modules / gui / bridge / label / SwingScilabLabel.java
index dca3a94..f432c11 100644 (file)
@@ -378,6 +378,12 @@ public class SwingScilabLabel extends JScrollPane implements SwingViewObject, Wi
                 return;
             }
 
+            if (labelText.startsWith("<a href") && labelText.endsWith("</a>")) {
+                changeLabelType(LabelStyle.HTML);
+                ((JEditorPane) label).setText(labelText);
+                return;
+            }
+
             if (labelText.startsWith("$") && labelText.endsWith("$")) {
                 boolean latex = ScilabSpecialTextUtilities.setText(new JLabel(), labelText);