#223 - Issue with classTextile.php
Type Defect
Status Fixed
Milestone 2.3.2
Version 2.2
Component Plugins
Priority Lowest
Severity Trivial
Assigned to -
Reported 12 years ago
Updated 10 years ago
Votes 0
Related tickets
Proposed time
Worked time

What did you do to cause this? editing themes

What page were you on? /ticket-X

Describe the defect: The plugin is returning the data from the DB in its own <p> tags, therefore styles applied to: (/views/ticket.php) <p id="ticket_content"></p>

are discarded. You can test it out on your own traq aswell Jack, via inspect element. Just have a look at the body of "Description"

Im looking @ the class file atm to see if i can find which return is putting out the <p>'s

Ticket History

12 years and 11 months ago by Devon Hazelett

  • Version future 2.2
  • Closed ticket as Fixed
  • custom_field 0% 100%

h5. This fix applies to 2.3, and maybe later.

Open /system/views/THEME_NAME/view_ticket.php

Go to line number 33

change the context:

@ <p id="ticket_content"> <?php echo formattext($ticket['body'], true); ?> </p> @ to the following: @ <div id="ticket_content"> <?php echo formattext($ticket['body'], true); ?> </div> @ Save, and refresh browser.

12 years and 11 months ago by Jack

  • Milestone future 2.3.2