Added clauses to truncate null-values and integers correctly.
You get these with the postgres-adapter from boss_db.

Error messages are:
{function_clause,
    [{erlydtl_filters,truncatewords,
         [1800,8,[]],
         [{file,"src/erlydtl_filters.erl"},{line,994}]},
    ...

and
function_clause,
    [{erlydtl_filters,truncatewords,
         [null,8,[]],
         [{file,"src/erlydtl_filters.erl"},{line,994}]},
    ...
Added filter date_unix_epoch that displays unix time in seconds since 1-1-1970.
Added clauses to display 'undefined' for date and floatformat when input is undefined. This prevents an rendering error.
Update src/erlydtl_runtime.erl

Fixed issue #56	
spaceless is not removing newline.
Update tests/src/erlydtl_unittests.erl

Added test case for removing newline when {{spaceless}} tag is used
Merge pull request #57 from sendtopms/patch-1

Update src/erlydtl_runtime.erl
Merge pull request #58 from sendtopms/master

Testcase implemented
Add compile_dir functions to erlydtl module
Fix various custom tag issues
Pass variable names as atoms to custom tag modules
UTF-8-capable truncatechars
Make "title" filter more Django-y
title/1 even more Django-y
Merge pull request #63 from runejuhl/issue/62

title/1 even more Django-y
Allow vars and attributes to use tag names

The only remaining reserved words are "not", "and", "in", "or", "as",
"by", and "with"
Throw undefined_variable in for loops
Report line numbers of undefined variables
Support for {% verbatim %} tag
Fix line numbers
Support negative number literals
Be more Django-y about undefined values

Previously evaluating undefined variables threw an error. Django
doesn't do this, so we won't either. Instead evaluate to the empty
list, which conveniently enough works both as an emptry string
and as an empty array