Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Add preserve filter #49

Merged
merged 4 commits into from Jan 26, 2017
Merged

Add preserve filter #49

merged 4 commits into from Jan 26, 2017

Conversation

ghost
Copy link

@ghost ghost commented Jan 22, 2017

No description provided.

@coveralls
Copy link

coveralls commented Jan 22, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 48dad59 on SHooZ:preserve-filter into b52a6ad on nyaruka:master.

@@ -37,6 +37,10 @@ def plain(content, indent, options):
return textwrap.dedent(content)


def preserve(content, intent, options):
return textwrap.dedent(content.replace('\n', '
').replace('\r', '
'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ghost
Copy link
Author

ghost commented Jan 25, 2017

Error with :highlight filter is caused by my commit?

Copy link
Member

@rowanseymour rowanseymour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've fixed the pygments problem in master, so please update this branch against that.

@@ -37,6 +37,13 @@ def plain(content, indent, options):
return textwrap.dedent(content)


def preserve(content, intent, options):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo, intent -> indent

@coveralls
Copy link

coveralls commented Jan 26, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling a17484c on SHooZ:preserve-filter into fa0303d on nyaruka:master.

@rowanseymour rowanseymour merged commit 68c2bbd into nyaruka:master Jan 26, 2017
@rowanseymour
Copy link
Member

@shooz looks good, thanks!

@rowanseymour rowanseymour mentioned this pull request Jan 26, 2017
@rowanseymour
Copy link
Member

Made new release with this https://pypi.python.org/pypi/django-hamlpy/1.0.1

@ghost ghost deleted the preserve-filter branch January 28, 2017 21:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants