Check-in [308d61b18d]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:remove tags added by markdown on m4 macros
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:308d61b18d38fbf44ecc212f42fa0a5fcb726c90
User & Date: brandon@invergo.net 2013-02-27 21:21:58
Context
2013-02-27
21:45
fix bad header tag check-in: 24063a060f user: brandon@invergo.net tags: trunk
21:21
remove tags added by markdown on m4 macros check-in: 308d61b18d user: brandon@invergo.net tags: trunk
20:13
fix atom links check-in: 04a46df51a user: brandon@invergo.net tags: trunk
Changes

Changes to Makefile.

    78     78   		$(MARKDOWN) $$f | m4 -D "__URL"=$$link -P $(MACROS) - $(ATOM_E_T) \
    79     79   			| head -n -4 >> $(SRC)/atom.xml; \
    80     80   	done
    81     81   	echo "</feed>" >> $(SRC)/atom.xml
    82     82   
    83     83   
    84     84   $(SRC)/%.html.m4: $(SRC)/%.md.m4 
    85         -	$(MARKDOWN) $< > $@
           85  +	$(MARKDOWN) $< | \
           86  +		sed -e 's/^<p>\(.*[{"|"}]\)/\1/g;s/\([{"|"}].*\)<\/p>/\1/g' > $@
    86     87   
    87     88   $(SRC)/%: $(SRC)/%.m4 $(MACROS)
    88     89   	m4 -P $(MACROS) $< > $@
    89     90   
    90     91   $(DST)/%: $(SRC)/%
    91     92   	install -m 644 -D $< $@
    92     93