Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 2.16 KB

File metadata and controls

54 lines (40 loc) · 2.16 KB

Development Progress

Completed

Paranoid Text Spacing Algorithm v6

  • Context-Aware Symbol Handling
    • Operators (= + - * / < > & ^): ALWAYS add spaces when CJK is present
    • Separators (_ |): NEVER add spaces regardless of context
    • Dual-behavior slash /: Single occurrence = operator, multiple = separator
  • Smart Pattern Recognition
    • Compound words: state-of-the-art, GPT-5, claude-4-opus preserved
    • Programming terms: C++, A+, i++, D-, C#, F# handled correctly
    • File paths: Unix (/usr/bin, src/main.py) and Windows (C:\Users\) protected
    • Special brackets: () [] {} <> with content-aware spacing
  • Function call spacing: a.getB() no longer becomes a.getB ()
  • HTML tag attributes: Proper spacing around = in attributes
  • Input field auto-spacing: Fixed to prevent breaking form functionality (#158)
  • Pipe character |: Now correctly treated as separator (#194)
  • Filesystem paths: Special characters in paths preserved (#209, #218, #219)

Paranoid Text Spacing Algorithm v7

  • Migrated from XPath to TreeWalker API
  • MutationObserver with idle processing for dynamic content
  • CSS visibility check for hidden elements (sr-only, visually-hidden)

In Progress

No task in progress

Upcoming Tasks

High Priority

  • New feature: 為什麼你們就是不能拼對大小寫呢?

Medium Priority

  • Change icon or badge to reflect the current spacing_mode
  • CSS Visibility detector with chrome.declarativeContent.PageStateMatcher({css: [".hide"]})?
  • Fix issue #155 - DO NOT spacing URL
    • https://xxxxx/不要加空格.html
    • https://%E5%A6%82
  • Fix issue #201 - Spaces between image-separated text
  • Fix issue #173 - Full-width quotes spacing, 「」 and 『』
  • Fix issue #169 - YouTube title persistence
  • Fix issue #207 - Bilibili upload page layout breaking

Low Priority

  • Add CSS text-autospace instructions in options page (Reason: Native browser feature is faster)
  • Handle HTML comment spacing: <!-- content -->
  • Fix issue #161 #216 - Comprehensive Markdown support