A rest argument keeps an empty first element; a removal block keeps its neighbour; the Markdown converter reads paragraphs whole; Smart App Control on the Windows page (from dev 1083db946f05)

- A rest argument (a list's or a table's items) now strips exactly ONE
  leading bar -- the separator from what precedes it -- so a second one is
  an empty first element: a table with an empty header corner is written
  `@table |` then ` | Maskulinum | ...`. Before, every leading bar was
  dropped and such a header row shifted one column left. New shipped suite
  tst/rest_test.sh.
- Text written hard against a closing ]# (a period, a letter) is no longer
  removed with the block; a following space or line break still is.
- sks/tns/md_to_sks.py converts inline Markdown per paragraph, so emphasis
  that wraps is converted and not mis-paired; bold may contain italic;
  tables are unnumbered; links to sibling .md files converted alongside
  become links to their html pages; the arrow becomes @rightarrow@.
- doc/install/windows_source_install.md: Smart App Control must be off --
  it blocks MSYS2's unsigned toolchain, and its Evaluation state turns
  itself on later.
This commit is contained in:
ack committed 2026-10-04 13:18:06 +02:00
1 parent 6e9889f7ae
commit bc2b3d8461
8 files changed
+244 -23

No files matched your search

+12
View File
@@ -151,6 +151,18 @@ check_warn "26. ... and is reported, not split" '@@w@@'
# the first version of the guard broke it.
check "27. @@ glued to #- still splits" '<x>' '@@v.* : <x> @@#-@v@'
echo
echo "-- what abuts a closing ]# --"
# A removal block ends at its "]#"; what follows is the writer's. Until
# 2026-10-02 mark_ignored_katoms() read find_span_katoms()'s half-open end
# as inclusive and removed the katom abutting the close as well: a sentence
# ending "#[ note ]#." lost its period. A following space or newline is
# removed by design, which is what hid it.
check "28. punctuation after ]# survives" 'a . c' 'a #[gone]#. c'
check "29. a letter after ]# survives" 'a x c' 'a #[gone]#x c'
check "30. a space after ]# is removed" 'a . c' 'a #[gone]# . c'
check "31. nested blocks, punctuation after" 'a . c' 'a #[ #[in]# out ]#. c'
echo
echo "================================================================="
echo "${bold}Results: $PASS passed, $FAIL failed${reset}"