forked from pool/python-graphviz
- update to 0.14.1
* Document the colon-separated ``node[:port[:compass]]`` format used for ``tail`` and ``head`` points in the ``edge()``- and ``edges()``-methods' * Improve handling of escaped quotes (``\"``). Different from other layout engine escapes sequences such as ``\l`` and ``\N`` (which are passed on as is by default), there is no use case for backslash-escaping a literal quote character because escaping of quotes is done by this library. Therefore, a backslash-escaped quote (e.g. in ``label='\\"'``) is now treated the same as a plain unescaped quote, i.e. both ``label='"'`` and ``label='\\"'`` produce the same DOT source ``[label="\""]`` (a label that renders as a literal quote). Before this change, use of ``'\\"'`` could break the quoting mechanism creating invalid or unintended DOT, possibly leading to syntax errors from the rendering process. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-graphviz?expand=0&rev=22
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 6 08:26:39 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- update to 0.14.1
|
||||
* Document the colon-separated ``node[:port[:compass]]`` format used for ``tail``
|
||||
and ``head`` points in the ``edge()``- and ``edges()``-methods'
|
||||
* Improve handling of escaped quotes (``\"``). Different from other layout engine
|
||||
escapes sequences such as ``\l`` and ``\N`` (which are passed on as is by
|
||||
default), there is no use case for backslash-escaping a literal quote character
|
||||
because escaping of quotes is done by this library. Therefore, a
|
||||
backslash-escaped quote (e.g. in ``label='\\"'``) is now treated the same as a
|
||||
plain unescaped quote, i.e. both ``label='"'`` and ``label='\\"'`` produce
|
||||
the same DOT source ``[label="\""]`` (a label that renders as a literal quote).
|
||||
Before this change, use of ``'\\"'`` could break the quoting mechanism creating
|
||||
invalid or unintended DOT, possibly leading to syntax errors from the rendering
|
||||
process.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 24 17:21:08 UTC 2019 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user