Skip to content

Commit ef0391c

Browse files
committed
FIXED: Text list content in DOT HTML-like labels.
1 parent c13f3a5 commit ef0391c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

prolog/graph/dot_html.pl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
:- encoding(utf8).
23
:- module(
34
dot_html,
@@ -167,6 +168,10 @@
167168
% u
168169
dot_html(u(Spec)) --> !,
169170
html_element(u, [], dot_html:dot_html(Spec)).
171+
dot_html([]) --> !, "".
172+
dot_html([H|T]) --> !,
173+
dot_html(H),
174+
dot_html(T).
170175
dot_html(String) -->
171176
{string(String)}, !,
172177
{dot_html_replace(String, EscapedString)},

0 commit comments

Comments
 (0)