diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-12-21 17:23:08 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-12-21 17:23:08 +0000 |
commit | 49b2ae2e69e1a273b4d4a8746a872ec00b91c86f (patch) | |
tree | fad603e2bc2455e11e6ce65fc3e8acb3acc9389f /make-recipes.sh | |
parent | b1ca8b5fbb263fd945f21d0ccff99f40a59d562b (diff) | |
download | libguestfs-49b2ae2e69e1a273b4d4a8746a872ec00b91c86f.tar.gz libguestfs-49b2ae2e69e1a273b4d4a8746a872ec00b91c86f.tar.xz libguestfs-49b2ae2e69e1a273b4d4a8746a872ec00b91c86f.zip |
recipes: Refresh guestfish recipes.
Diffstat (limited to 'make-recipes.sh')
-rwxr-xr-x | make-recipes.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/make-recipes.sh b/make-recipes.sh index a8ba4fe9..7bd81144 100755 --- a/make-recipes.sh +++ b/make-recipes.sh @@ -66,9 +66,9 @@ for f in recipes/*.sh; do cat recipes/$b.html fi echo '<h3>'$b'.sh</h3>' - echo '<pre class="example">' - sed -e 's,&,\&,g' -e 's,<,\<,g' -e 's,>,\>,g' < $f - echo '</pre>' + echo '<div class="example">' + source-highlight --output=STDOUT --src-lang=sh --input=$f + echo '</div>' if [ -r recipes/$b.example ]; then echo '<h3>Example output</h3>' echo '<pre>' |