diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-10-20 21:40:07 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-10-22 11:16:51 -0700 |
commit | 6a03aca906c1e714aea7e34acdf10105e3272d6b (patch) | |
tree | 335579fc5ad0f69e7f841634d94cc3539d63c397 /.github/workflows/lint.yml.bkp | |
parent | 8523bb01b24424249aa409ea577388a1ea10d70a (diff) | |
download | pandoc-6a03aca906c1e714aea7e34acdf10105e3272d6b.tar.gz |
Lua: marshal Inline elements as userdata
This includes the following user-facing changes:
- Deprecated inline constructors are removed. These are `DoubleQuoted`,
`SingleQuoted`, `DisplayMath`, and `InlineMath`.
- Attr values are no longer normalized when assigned to an Inline
element property.
- It's no longer possible to access parts of Inline elements via
numerical indexes. E.g., `pandoc.Span('test')[2]` used to give
`pandoc.Str 'test'`, but yields `nil` now. This was undocumented
behavior not intended to be used in user scripts. Use named properties
instead.
- Accessing `.c` to get a JSON-like tuple of all components no longer
works. This was undocumented behavior.
- Only known properties can be set on an element value. Trying to set a
different property will now raise an error.
Diffstat (limited to '.github/workflows/lint.yml.bkp')
0 files changed, 0 insertions, 0 deletions