about summary refs log tree commit diff
path: root/docs/doctool/Modules/NaturalDocs/NDMarkup.pm
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-17 12:56:19 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-17 12:56:19 +0000
commite42c493d0c294ccb0a314c8447818c8d613195df (patch)
tree27e56d9415313ddccdb1550da64ed3ef80b1dcca /docs/doctool/Modules/NaturalDocs/NDMarkup.pm
parent037569c4e52f37196275dbafec670f54da249cf8 (diff)
downloadzcatch-e42c493d0c294ccb0a314c8447818c8d613195df.tar.gz
zcatch-e42c493d0c294ccb0a314c8447818c8d613195df.zip
removed olds docs
Diffstat (limited to 'docs/doctool/Modules/NaturalDocs/NDMarkup.pm')
-rw-r--r--docs/doctool/Modules/NaturalDocs/NDMarkup.pm76
1 files changed, 0 insertions, 76 deletions
diff --git a/docs/doctool/Modules/NaturalDocs/NDMarkup.pm b/docs/doctool/Modules/NaturalDocs/NDMarkup.pm
deleted file mode 100644
index bc4dde66..00000000
--- a/docs/doctool/Modules/NaturalDocs/NDMarkup.pm
+++ /dev/null
@@ -1,76 +0,0 @@
-###############################################################################
-#
-#   Package: NaturalDocs::NDMarkup
-#
-###############################################################################
-#
-#   A package of support functions for dealing with <NDMarkup>.
-#
-#   Usage and Dependencies:
-#
-#       The package doesn't depend on any Natural Docs packages and is ready to use right away.
-#
-###############################################################################
-
-# This file is part of Natural Docs, which is Copyright (C) 2003-2005 Greg Valure
-# Natural Docs is licensed under the GPL
-
-
-use strict;
-use integer;
-
-package NaturalDocs::NDMarkup;
-
-#
-#   Function: ConvertAmpChars
-#
-#   Substitutes certain characters with their <NDMarkup> amp chars.
-#
-#   Parameters:
-#
-#       text - The block of text to convert.
-#
-#   Returns:
-#
-#       The converted text block.
-#
-sub ConvertAmpChars #(text)
-    {
-    my ($self, $text) = @_;
-
-    $text =~ s/&/&amp;/g;
-    $text =~ s/</&lt;/g;
-    $text =~ s/>/&gt;/g;
-    $text =~ s/\"/&quot;/g;
-
-    return $text;
-    };
-
-
-#
-#   Function: RestoreAmpChars
-#
-#   Replaces <NDMarkup> amp chars with their original symbols.
-#
-#   Parameters:
-#
-#       text - The text to restore.
-#
-#   Returns:
-#
-#       The restored text.
-#
-sub RestoreAmpChars #(text)
-    {
-    my ($self, $text) = @_;
-
-    $text =~ s/&quot;/\"/g;
-    $text =~ s/&gt;/>/g;
-    $text =~ s/&lt;/</g;
-    $text =~ s/&amp;/&/g;
-
-    return $text;
-    };
-
-
-1;