Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

General Discussion

Joe Hirst
PLUS
Joe Hirst
Courses Plus Student 6,489 Points

Forum bug with hyperlinks

So I just recently noticed that when a forum post with a long link is posted and viewed on an iOS device it doesn't wrap to the constraints of the post itself.

For example: (view this post on an iOS device, eg; iPhone)

https://www.thisisanexampleofahyperlinkthatistoolongforandiosdevicetobreaktothenextline.com

Alternatively, just scale the width of your browser window, it seems to generate the same issue.

4 Answers

James Barnett
James Barnett
39,199 Points

I've noticed this bug as well on Chrome 23, Firefox 16 & Internet Explorer 9 all under Windows 7.

Joe Hirst
PLUS
Joe Hirst
Courses Plus Student 6,489 Points

Oh boy!

I was starting to think it could just be an issue with Safari in general, but now I'm positive it's a bug!

Thanks for commenting James. :)

Joe Hirst
PLUS
Joe Hirst
Courses Plus Student 6,489 Points

Oh boy!

I was starting to think it could just be an issue with Safari in general, but now I'm positive it's a bug!

Thanks for commenting James. :)

Matt West
Matt West
14,545 Points

A simple addition to the CSS should fix this.

p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}