Skip to content

Explain table WikiText handling TODO comment#9803

Open
andrewgoz wants to merge 4 commits intoTiddlyWiki:masterfrom
andrewgoz:master
Open

Explain table WikiText handling TODO comment#9803
andrewgoz wants to merge 4 commits intoTiddlyWiki:masterfrom
andrewgoz:master

Conversation

@andrewgoz
Copy link
Copy Markdown
Contributor

The caption processing is best explained using two WikiText tables:

|shown above table|c
|!h1|!h2|h
|d1|d2|

and

|!h1|!h2|h
|d1|d2|
|shown below table|c

in both cases the HTML <caption> element is made the first child of the <table> element - as it should be.

I also changed the slice() to unshift(), because I find the latter more clear. The comment associated with that was simply wrong.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 13, 2026

Deploy Preview for tiddlywiki-previews failed. Why did it fail? →

Name Link
🔨 Latest commit 3aa514c
🔍 Latest deploy log https://app.netlify.com/projects/tiddlywiki-previews/deploys/69de69895aa5820007e5d70c

@github-actions
Copy link
Copy Markdown

Confirmed: andrewgoz has already signed the Contributor License Agreement (see contributing.md)

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 13, 2026

📊 Build Size Comparison: empty.html

Branch Size
Base (master) 2488.9 KB
PR 2489.0 KB

Diff: ⬆️ Increase: +0.1 KB


✅ Change Note Status

All change notes are properly formatted and validated!

📝 $:/changenotes/5.4.0/#9803

Type: enhancement | Category: usability
Release: 5.4.0

Re-enable WikiText table caption positioning

🔗 #9803

👥 Contributors: andrewg_oz


📖 Change Note Guidelines

Change notes help track and communicate changes effectively. See the full documentation for details.

@andrewgoz andrewgoz marked this pull request as draft April 14, 2026 16:01
Copy link
Copy Markdown
Contributor Author

@andrewgoz andrewgoz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added release note

@andrewgoz andrewgoz marked this pull request as ready for review April 14, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant