Modify

Opened 14 years ago

Closed 14 years ago

#6364 closed defect (invalid)

Extra whitespace may be added to title of blog post

Reported by: Ryan J Ollos Owned by: Nick Loeve
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 Ryan J Ollos 14 years ago.
Screen capture of blog posting

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by Ryan J Ollos

Attachment: TracPreCommitHook.png added

Screen capture of blog posting

comment:1 Changed 14 years ago by Ryan J Ollos

Summary: Extra whitespace may be added to titleExtra whitespace may be added to title of blog post

comment:2 Changed 14 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 14 years ago by Ryan J Ollos

Resolution: invalid
Status: newclosed

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 ;)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Nick Loeve.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.