Modify

Opened 5 years ago

Closed 5 years ago

#6364 closed defect (invalid)

Extra whitespace may be added to title of blog post

Reported by: rjollos Owned by: trickie
Priority: normal Component: FullBlogNotificationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Here is the relevant portion of the email,

Changed post "TracPreCommitHookEnabled" by ryano at 2009-12-23
06:17:36+00:00.
Revision: 2
Page URL: https://trac.physiosonics.com/blog/TracPreCommitHookEnabled

Content:

Title: Trac Pre-Commit Hook Enabled for Trunk of  Project Directories

...

Screen capture of blog posting:

Screen capture of blog posting

Very minor issue, but notice that in Title whitespace has been added between of and Project, but this whitespace does not appear in the title of the blog post. I assume this is an issue with FullBlogNotificationPlugin, but I suppose it could be an issue with FullBlogPlugin.

Attachments (1)

TracPreCommitHook.png (48.8 KB) - added by rjollos 5 years ago.
Screen capture of blog posting

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by rjollos

Screen capture of blog posting

comment:1 Changed 5 years ago by rjollos

  • Summary changed from Extra whitespace may be added to title to Extra whitespace may be added to title of blog post

comment:2 follow-up: Changed 5 years ago by osimons

My hunch would be that the title actually contains the additional space, but that can't be seen in web version as HTML does not render as-is. Browsers will make any number of regular whitespace characters into one whitespace character (allowing lines to break and be indented and so on).

Plain-text notification can't hide this, and it really makes no sense for any code to reformat the entered title.

Please inspect the actual title of the blog post (for instance in edit mode).

comment:3 in reply to: ↑ 2 Changed 5 years ago by rjollos

  • Resolution set to invalid
  • Status changed from new to closed

Replying to osimons:

My hunch would be that the title actually contains the additional space, but that can't be seen in web version as HTML does not render as-is. Browsers will make any number of regular whitespace characters into one whitespace character (allowing lines to break and be indented and so on).

Plain-text notification can't hide this, and it really makes no sense for any code to reformat the entered title.

Please inspect the actual title of the blog post (for instance in edit mode).

You are completely correct. I thought I had double checked that last night, but apparently missed it. I also didn't realize that HTML would format the text by ignoring the extra whitespace ... so at least I learned something here.

Thank you for the explanation and sorry for taking up your time on an invalid issue ;)

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.