diff --git a/.template-helpers/template.md b/.template-helpers/template.md index e5798e574..36983c3db 100644 --- a/.template-helpers/template.md +++ b/.template-helpers/template.md @@ -1,3 +1,19 @@ + + # Supported tags and respective `Dockerfile` links %%TAGS%% diff --git a/push.pl b/push.pl index e540c6e3a..bd6ad9085 100755 --- a/push.pl +++ b/push.pl @@ -60,6 +60,9 @@ sub prompt_for_edit { my $proposedText = slurp $proposedFile or warn 'missing ' . $proposedFile; $proposedText = trim(decode('UTF-8', $proposedText)); + # remove our warning about generated files (Hub doesn't support HTML comments in Markdown) + $proposedText =~ s% ^ \s* %%sx; + if ($lengthLimit > 0 && length($proposedText) > $lengthLimit) { # TODO https://github.com/docker/hub-beta-feedback/issues/238 my $fullUrl = "$githubBase/$proposedFile";