mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-25 09:21:10 +00:00
doc: Fix generation of HTML fragment
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
910198cdf5
commit
fe8536df8a
@ -62,7 +62,7 @@ fetch:
|
||||
|
||||
|
||||
%.part.html: %.html
|
||||
perl -pe 'BEGIN {undef $/} s/.*<body[^>]*>(.*)<\/body>.*/$1/s' $< > $@
|
||||
perl -pe 'BEGIN {undef $$/} s/.*<body[^>]*>(.*)<\/body\s*>.*/$$1/si' $< > $@
|
||||
|
||||
|
||||
%.html: %.xml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user