---
name: "Ns_QuoteHtml"
section: "3"
platform: "linux"
package: "aolserver4"
version: "4.0.10-7"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/Ns_QuoteHtml"
---

# Ns\_QuoteHtml(3)

Quote an HTML string

```

```

## NAME

Ns\_QuoteHtml - Quote an HTML string

## SYNOPSIS

```
#include "ns.h"

void
Ns_QuoteHtml(Ns_Dstring *pds, char *string)
```

## DESCRIPTION

- **Ns\_QuoteHtml**(*pds, string*)

  The Ns\_QuoteHtml function appends the given string to the Ns\_DString, making the following substitutions that allow HTML to be included in another HTML page as plain text:

  ```
  <   &lt;
  >   &gt;
  &   &amp;
  ```

## SEE ALSO

nsd(1), [info(n)](/info/n.md)

## KEYWORDS
