diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-05 16:10:09 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-05 16:10:09 -0600 |
| commit | 01be937e4a8e014865df6f6ac3121589e80d600f (patch) | |
| tree | ab399894fdba547dce9ba5c743174dc9a08b06da /tests/test-org-webclipper-process.el | |
| parent | 169a7e3cec4ecae4fb64bd4a4667a7149b36ac83 (diff) | |
| download | dotemacs-01be937e4a8e014865df6f6ac3121589e80d600f.tar.gz dotemacs-01be937e4a8e014865df6f6ac3121589e80d600f.zip | |
fix(calendar-sync): fix heading order, continuation lines, and exception text cleaning
Three bugs found during manual verification of calendar sync output:
1. Heading/timestamp order reversed in event-to-org — nreverse pattern
put timestamp before the org heading. Swap initial list order.
2. get-property continuation line regex broken — the ^ anchor in
"^\n[ \t]" prevented matching at the correct position, truncating
long DESCRIPTION values at the first ICS line fold. Remove anchor,
add explicit position check (matching get-all-property-lines pattern).
3. collect-recurrence-exceptions didn't clean text — exception instances
got raw ICS text (literal \n, HTML tags) replacing the cleaned base
event text. Wrap summary/description/location in clean-text.
Diffstat (limited to 'tests/test-org-webclipper-process.el')
0 files changed, 0 insertions, 0 deletions
