(content)
| 1946 | // ======= |
| 1947 | |
| 1948 | function escapeHelper(content) { |
| 1949 | return content |
| 1950 | .replace(/&/g, '&') |
| 1951 | .replace(/</g, '<') |
| 1952 | .replace(/>/g, '>') |
| 1953 | .replace(/"/g, '"') |
| 1954 | .replace(/'/g, '''); |
| 1955 | } |
| 1956 | |
| 1957 | /** |
| 1958 | * Writes the contents of a <a href="#/p5.Table">Table</a> object to a file. Defaults to a |