Ticket #1315 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

</p> tag is included in the learning story on the front page

Reported by: hans Owned by: laszlo
Priority: critical Milestone:
Component: generic Version:
Keywords: Cc:
Time planned: 1h Time remaining: 0h
Time spent: 7.0h

Description

</p> tag is included in the learning story on the front page (before "read more"). This makes the front page invalid XHTML. Learning story should be displayed without </p> tags. If first paragraph of teaching and learning story is so short that we have a room to display part of the second paragraph too, then we should still display only the first paragraph.

    <p>
    Pascali programmeerimise kursust õpetasin ma 2001/2002 õppeaastal 12. klassi õpilastele. Kursuse eesmärgiks oli anda algteadmised programmeerimisest ja tekitada õpilastes huvi IT erialade vastu.</p>
    [<a href="http://lemill.net/community/Hans/collections/programmeerimine-pascalis">loe veel...</a>]
    </p>

Change History

comment:1 Changed 12 years ago by laszlo

  • Owner changed from anonymous to laszlo
  • Status changed from new to assigned
  • Time planned set to 1h

comment:2 Changed 12 years ago by laszlo

  • Status changed from assigned to closed
  • Time spent set to 2.0h
  • Resolution set to fixed
  • Time remaining set to 0h

(In [1664]) fixed #1315 spent 2h

comment:3 Changed 12 years ago by laszlo

  • Time spent changed from 2.0h to 3.0h

(In [1666]) fixed #1315 spent 1h

comment:4 Changed 12 years ago by tarmo

  • Priority changed from major to critical
  • Status changed from closed to reopened
  • Resolution fixed deleted

This is not an acceptable solution - the template is no longer valid XML. Move this into a python method somewhere.

comment:5 Changed 12 years ago by laszlo

  • Status changed from reopened to closed
  • Time spent changed from 3.0h to 7.0h
  • Resolution set to fixed

(In [1696]) fix #1315 spent 4h

Note: See TracTickets for help on using tickets.