Textpattern Forum

You are not logged in. Register | Login | Help

#1 2006-10-16 20:06:47

cbeyls
Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

[textile] Removing caps span ?

Is it possible to remove the

<span class="caps">ABC</span>

that is added automatically to all groups of caps in the newest Textile?

Last edited by cbeyls (2006-10-16 20:07:13)


My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)

Offline

#2 2006-10-16 21:28:07

zem
Developer emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579
Website

Re: [textile] Removing caps span ?

No. Just don’t style the caps class if you don’t want it to appear any different.


Alex
tstate

Offline

#3 2006-11-30 12:29:19

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: [textile] Removing caps span ?

Is there a reason why it gets added?


Cheers,
Jon VC#9

Offline

#4 2006-12-01 05:51:21

Mary
Sock Enthusiast
From: Canada
Registered: 2004-06-27
Posts: 6,235

Re: [textile] Removing caps span ?

Typography option is the most likely reason.


My email address has changed recently. If you need to contact me, use the forum contact form.

Offline

#5 2006-12-02 01:53:26

zem
Developer emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579
Website

Re: [textile] Removing caps span ?

link.

Adding it is harmless enough – just leave it alone and it has no effect.


Alex
tstate

Offline

#6 2006-12-02 12:41:16

maniqui
Moderator
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 2,976
Website

Re: [textile] Removing caps span ?

It could be useful for styling comments.
I manage a site where visitors usually leave comments like: “This is AWESOME.”

Sometimes, I edit the comment and re-write the word in lowercase, but I could also apply a rule like .caps {text-transformation: lowercase; font-weight: strong; }. This way, I would avoid the need of editing the comment to remove the caps.
Of course, when CSS is off, the caps are still there…

Just a thought.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#7 2006-12-08 04:06:33

loid
Member
Registered: 2005-03-09
Posts: 38

Re: [textile] Removing caps span ?

It is a major pain to try and edit a large chunk of comment text when the author has written in all caps, when (span class=“caps”) appears between every letter.

Offline

#8 2006-12-12 23:32:21

loid
Member
Registered: 2005-03-09
Posts: 38

Re: [textile] Removing caps span ?

In order to avoid this major pain, which in my case occurs two or three times a day, is there no file that can be edited to make this go away, then?

Offline

#9 2006-12-13 02:30:51

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: [textile] Removing caps span ?

/textpattern/lib/classTextile.php

Offline

#10 2010-01-12 22:23:15

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: [textile] Removing caps span ?

This mark up is a bit sloppy. I wonder would it choke up a screen reader?


its a bad hen that wont scratch itself.
photogallery

Offline

Board footer

Powered by FluxBB