Skip to content

Fix XHS topic insertion order#13

Merged
walker1211 merged 1 commit into
mainfrom
fix/xhs-topic-append-content
Jun 12, 2026
Merged

Fix XHS topic insertion order#13
walker1211 merged 1 commit into
mainfrom
fix/xhs-topic-append-content

Conversation

@walker1211

Copy link
Copy Markdown
Owner

Summary

  • Keep the XHS content editor cursor at the end before inserting separator newlines and topic tags.
  • Prevent topic tags from being inserted into the middle of existing content.
  • Add a regression test for preserving content order and avoiding empty paragraphs between title lines.

Test plan

  • go test ./... -count=1
  • Push hook: secret scan, gofmt, go vet, go test, build

@walker1211
walker1211 merged commit 2b0c8d1 into main Jun 12, 2026
4 checks passed
@walker1211
walker1211 deleted the fix/xhs-topic-append-content branch June 12, 2026 02:58
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