[rt-users] RTFM text formatting problem

Jesse Vincent jesse at bestpractical.com
Fri Apr 28 12:34:08 EDT 2006




On Fri, Apr 28, 2006 at 09:32:16AM -0700, nate wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I've installed RTFM, following the install instructions by creating a
> class, creating a custom text field, and assigning rights.  The problem
> is that text entered doesn't seem to print very well.  My custom field
> is of the Text type.  When I enter text like so:

You're using an "enter many lines" not "enter a big block of text"
custom field.


> - -----------
> This is a
> 
> 1. test of
> 2. RTFM text
> 3.    formatting.
> - -----------
> 
> What I see when I view the article is this:
> 
> - -----------
> This is a 1. test of 2. RTFM text 3. formatting.
> - -----------
> 
> Which makes it hard to read pre-formatted text.  Now is something wrong
> with my installation, or is this Working As Intended?  If so, then I
> guess I'll just stick in a text output filter in the code, so that
> carriage returns (\n) are replace with (<br>\n) and more than one space
> is replaced with (<space> ).  It just doesn't make sense to me that
> this is the way that it was intended to work, since any text with any
> formatting, even just paragraph breaks, is all jumbled together.  Any
> insight is appreciated.
> 
> Thanks,
> Nate
> 
> - --
> :wq
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFEUkN9RMRYK1K/wKQRAnXPAJoCwfzZM5YfVHTKy96HWHOqSqv43wCePJFj
> C6rVSJn07ApIHCb76JJKBaQ=
> =4Kex
> -----END PGP SIGNATURE-----
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 
> 
> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html
> 

-- 



More information about the rt-users mailing list