≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Feature request #817

Feature request #817: Add option for disabling indentation

Kind feature request
Product wikitext
When Created 2008-05-27T16:13:45Z, updated 2009-05-06T18:57:45Z
Status closed
Reporter Greg Hurrell
Tags no tags

Description

Now that Haml has the "ugly" option which disables indenting, it would be nice if the Wikitext extension had a similar option as well. In this way output from the extension embedded in the flow of a Haml template would fit in perfectly.

Comments

  1. Greg Hurrell 2009-03-26T20:07:37Z

    Perhaps the :indent option could be hijacked for this purpose.

    We already have:

    >> puts parser.parse('* foo', :indent => 10)
              <ul>
                <li>foo</li>
              </ul>
    => nil

    What if we had:

    >> puts parser.parse('* foo', :indent => false)
    <ul>
    <li>foo</li>
    </ul>
    => nil
  2. Greg Hurrell 2009-05-06T18:57:40Z

    Voila:

    >> puts parser.parse('* foo', :indent => false)
    <ul>
    <li>foo</li>
    </ul>
    => nil

    Will mark as closed. Will be out in the next release (either 1.5.4 or 1.6; haven't decided yet).

  3. Greg Hurrell 2009-05-06T18:57:45Z

    Status changed:

    • From: open
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets