Ticket #6 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Safe mode does not work when there are no left angle-brackets in the source

Reported by: deveiant Owned by: deveiant
Priority: normal Milestone: Previous Releases
Component: API Version: 0.0.4b
Severity: normal Keywords: old bugs instiki safe mode
Cc:

Description (last modified by deveiant) (diff)

In the “Edit Web” page, selecting “Markup syntax: Markdown” and then checking “Safe mode” results in the following error when the “Update Web” button is pushed:

/tmp/instiki-0.8.5/app/models/../../libraries/bluecloth.rb:178: in `to_html’
    private method `gsub!’ called for nil:Nil Class?

(Reported by Mark Reid via the Instiki Wiki, patch suggested by Denis Mertz)

Change History

Changed 4 years ago by deveiant

  • description modified (diff)

Changed 4 years ago by deveiant

  • status changed from new to assigned

Date: 2004-04-30 04:04[[br]] Sender: ged
Logged In: YES
user_id=158

Confirmed with a new test.

Changed 4 years ago by deveiant

  • status changed from assigned to closed
  • resolution set to fixed

Date: 2004-04-30 04:04[[br]] Sender: ged
Logged In: YES
user_id=158

Applied fix suggested by Denis Mertz; committed in changeset:37. Closing.

Note: See TracTickets for help on using tickets.