From e42c493d0c294ccb0a314c8447818c8d613195df Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Thu, 17 Jan 2008 12:56:19 +0000 Subject: removed olds docs --- docs/doctool/Modules/NaturalDocs/NDMarkup.pm | 76 ---------------------------- 1 file changed, 76 deletions(-) delete mode 100644 docs/doctool/Modules/NaturalDocs/NDMarkup.pm (limited to 'docs/doctool/Modules/NaturalDocs/NDMarkup.pm') 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 . -# -# 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 amp chars. -# -# Parameters: -# -# text - The block of text to convert. -# -# Returns: -# -# The converted text block. -# -sub ConvertAmpChars #(text) - { - my ($self, $text) = @_; - - $text =~ s/&/&/g; - $text =~ s//>/g; - $text =~ s/\"/"/g; - - return $text; - }; - - -# -# Function: RestoreAmpChars -# -# Replaces amp chars with their original symbols. -# -# Parameters: -# -# text - The text to restore. -# -# Returns: -# -# The restored text. -# -sub RestoreAmpChars #(text) - { - my ($self, $text) = @_; - - $text =~ s/"/\"/g; - $text =~ s/>/>/g; - $text =~ s/</