Issue with classTextile.php

223
Defect
-
2.3.2
2.2
Plugins
Fixed
Lowest
Trivial
5 years ago
3 years ago
0

Description

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

5 years and 10 months ago by Devon Hazelett

  • Changed Version from future to 2.2
  • Closed ticket as Fixed
  • Changed custom_field from 0% to 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.

5 years and 10 months ago by Jack

  • Changed Milestone from future to 2.3.2