We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Textile: line breaks in headings?

Development and Programming

spacewalk's avatar
spacewalk
106 posts
16 years ago
spacewalk's avatar spacewalk

Textile plugin (v.1.1.1 (2.0.0 r2779)) Textile Editor Helper (TEH) (v.1.2.0)

A client quite reasonably wants to be able to control widows in headings (h2, h3, etc.) by introducing a single carriage return where she desires the line break, like this:

h3. I want the line to break here and not somewhere else

That technique would work fine in a paragraph, introducing an HTML break at the carriage return. However, it does nothing in a heading.

Can anyone help me figure out how to patch the plugin code to insert breaks in headings? Thanks.

       
strudel's avatar
strudel
195 posts
16 years ago
strudel's avatar strudel

I too am looking for a way to control orphans in my title fields. I’ve been using some non-breaking spaces in certain things I’m formatting, but I’m hoping there’s a better alternative to having 7 words on the first line and then 1 word on the second of a long title.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.