Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Replace Buffer with TextEncoder/TextDecoder for mobile comptability #94

Closed

Commits on Sep 17, 2024

  1. Fix: Replace Node.js Buffer with TextEncoder/TextDecoder for mobile c…

    …ompatibility
    
    - Replaced the use of Buffer with TextEncoder and TextDecoder in the pretty function.
    - Added comments explaining that Buffer is not compatible with mobile versions of Obsidian due to reliance on Node.js-specific APIs.
    - Ensures UTF-8 encoding is maintained without breaking compatibility across different environments.
    invstia committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    bca416f View commit details
    Browse the repository at this point in the history