donators

n@work Internet Informationssysteme GmbH
Your ad here

Advertising

A question

By: Thomas

19.12.05 16:25 Age: 3 yrs

Hello,

As I said in the last post, I'm working on the new layout with some additonal content. Currently I'm testing the tp_syntaxhighlighting extension to print out some formatted code.

As you can see here every line of the code is wrapped by <p style="margin:0;"></p>. My question is how I can get rid of this? The problem is, that I want disable this behavior only for that special extension, or better for the Tag <CODE> the extension provides. Any ideas on this?

This is the code I used for configuring the output on that page:

 

  1.  
  2. tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines {
  3. encapsTagList >
  4. remapTag.DIV >
  5. wrapNonWrappedLines = |
  6. addAttributes.P {
  7. style=margin:0;
  8. }
  9. innerStdWrap_all.ifEmpty = &nbsp;
  10. innerStdWrap_all.textStyle < tt_content.text.20.textStyle
  11. }

 

Greets,

Thomas


Please leave a comment

Leave a Reply

You have to activate JavaScript to post comments!

Calendar

December 2005
M T W T F S S
« Nov   Jan »
 12304
50678091011
12131415161718
19202122232425
262728293031  

Latest comments

  • Thomas

    Hi Jürgen, yes you're right. The page was actually not hacked and I used an inappropriate wordin...

  • Juergen Egeling

    Hi, as far as we investigated, typo3.org was not hacked, but one password was exposed, and a person...

  • Jens

    Hy, it is ruby on rails. :) Just added a Video to the site. The Podcast done by Kasper. 21...

  • Internetagentur München

    I am looking forward to meet you all there!

  • Emile

    Great! Would be nice if something was done about the strict validation as well. The border attribut...

Advertising