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

Enhance wordWrap with HTML Tags for Line Breaks #6053

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IllianiCBT
Copy link
Collaborator

Added HTML tags to the wordWrap method to ensure proper line breaks using <br> instead of newline characters. This change improves the rendering of wrapped text in HTML contexts by enclosing the output in <html> tags.

This resolves a bug with tooltips used in the updated MekHQ DateChooser.

Added HTML tags to the `wordWrap` method to ensure proper line breaks using `<br>` instead of newline characters. This change improves the rendering of wrapped text in HTML contexts by enclosing the output in `<html>` tags.
Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 29.06%. Comparing base (db3216f) to head (bc96356).
Report is 36 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #6053   +/-   ##
=========================================
  Coverage     29.06%   29.06%           
  Complexity    13981    13981           
=========================================
  Files          2601     2600    -1     
  Lines        267592   267586    -6     
  Branches      47792    47791    -1     
=========================================
  Hits          77771    77771           
+ Misses       185919   185913    -6     
  Partials       3902     3902           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant