Skip to content

Extensions are ignored in tag_html #140

runejuhl opened this Issue Aug 15, 2012 · 1 comment

1 participant


When compiling tag_html, Chicago Boss discards the extension from files in the tag_html directory. When using an editor that creates backup files by appending a string to the filename (e.g. Emacs and "~"), this results in compile errors, as the files have the same name when stripped of this extension:

{{badmatch,{error,"compilation failed: src/view/lib/tag_html"}},

As with ErlyDTL templates, Chicago Boss should only compile those files that end in ".html".


Sorry for the noise -- I had already tried to figure out where it went wrong, but it only hit me after I created this issue. It all happens in erlydtl_compiler:compile_dir/3, so I'll take it up there.

@runejuhl runejuhl closed this Aug 15, 2012
@runejuhl runejuhl referenced this issue in erlydtl/erlydtl Aug 16, 2012

Only compile files with .html extension. #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.