Opened 15 years ago

Closed 15 years ago

#29 closed defect (fixed)

Fix MIME type of vouchers view

Reported by: adehnert Owned by:
Priority: minor Milestone: 1.0
Keywords: Cc:

Description

The vouchers view currently seems to get served up as text/html. This means that line breaks are collapsed in the browser. Also, the sanity-checking code in the client causes the client to error.

It should probably get served as text/plain or text/x-latex or some such.

Change History (2)

comment:1 Changed 15 years ago by adehnert

  • Milestone changed from Sometime to 1.0

comment:2 Changed 15 years ago by adehnert

  • Resolution set to fixed
  • Status changed from new to closed
commit 70a9bbd2164e41098afbbae4779355d53c0dfcd2
Author: Alex Dehnert <adehnert@mit.edu>
Date:   Wed May 12 04:25:09 2010 -0400

    Serve LaTeX as LATEX_MIMETYPE (Trac: #29)
    
    Set the default value of LATEX_MIMETYPE to application/x-latex. Note that
    text/plain might be preferable, since most browsers will display it inline.
    Also, this fixes the issue with the client erroring out.
Note: See TracTickets for help on using tickets.