---
name: "Ns_QuoteHtml"
section: "3aolserver"
platform: "linux"
package: "aolserver4-dev"
version: "4.5.1-18.1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Ns_QuoteHtml/3aolserver"
---

# Ns\_QuoteHtml(3aolserver)

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
