Skip to content

Conversation

@google-labs-jules
Copy link
Contributor

This change updates the Romanizer tool to convert full-width tildes (~) to half-width tildes (~), ensuring consistent output. It also updates the .gitignore file to exclude server logs from being committed.

Fixes #191


PR created automatically by Jules for task 13451461738846712990 started by @Aiuanyu

This commit enhances the Romanizer tool by automatically converting the full-width tilde character (~) to its half-width equivalent (~).

This is achieved by adding a new mapping to the `punctuationMap` in the `normalizePunctuation` function within `js/romanizer.js`. This ensures that the conversion is applied consistently wherever punctuation is normalized, improving the user experience and data consistency for both display and copy-to-clipboard actions.

Additionally, `server.log` has been added to `.gitignore` to prevent accidental commits of server log files in the future.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@cloudflare-workers-and-pages
Copy link

Deploying hakspring with  Cloudflare Pages  Cloudflare Pages

Latest commit: 331d19d
Status: ✅  Deploy successful!
Preview URL: https://45cdcd1a.hakspring.pages.dev
Branch Preview URL: https://feature-romanizer-tilde-conv.hakspring.pages.dev

View logs

@Aiuanyu Aiuanyu marked this pull request as ready for review January 24, 2026 01:56
@Aiuanyu Aiuanyu merged commit 7e0c201 into main Jan 24, 2026
1 of 2 checks passed
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.

[Romaine] 全形波浪號 tilde ~ 乜轉換做半形

2 participants