remove trailing d character from enml_template used in prepare_content()

Remove trailing 'd' character from enml_template used by prepare_content() fixing Issue #334