Sha256: 29da11586d3defcb2ae99d000df721473c53747d4a974d096e58f7c2030410b6

Contents?: true

Size: 537 Bytes

Versions: 24

Compression:

Stored size: 537 Bytes

Contents

#pragma once

#include "trenni.h"

void Init_trenni_escape();

// Given a string, replace it's class with Trenni::MarkupString so that it would be output as is.
VALUE Trenni_MarkupString_raw(VALUE self, VALUE string);

// Append any value to the output buffer efficiently, escaping entities as needed.
VALUE Trenni_Markup_append(VALUE self, VALUE buffer, VALUE value);

// Escape any entities in the given string. If no entities were found, might return the original string.
VALUE Trenni_Markup_escape_string(VALUE self, VALUE string);

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
trenni-3.14.0 ext/trenni/escape.h
trenni-3.13.2 ext/trenni/escape.h
trenni-3.13.1 ext/trenni/escape.h
trenni-3.13.0 ext/trenni/escape.h
trenni-3.12.0 ext/trenni/escape.h
trenni-3.11.0 ext/trenni/escape.h
trenni-3.10.0 ext/trenni/escape.h
trenni-3.9.0 ext/trenni/escape.h
trenni-3.8.0 ext/trenni/escape.h
trenni-3.7.1 ext/trenni/escape.h
trenni-3.7.0 ext/trenni/escape.h
trenni-3.6.1 ext/trenni/escape.h
trenni-3.6.0 ext/trenni/escape.h
trenni-3.5.0 ext/trenni/escape.h
trenni-3.4.0 ext/trenni/escape.h
trenni-3.3.0 ext/trenni/escape.h
trenni-3.2.0 ext/trenni/escape.h
trenni-3.1.3 ext/trenni/escape.h
trenni-3.1.2 ext/trenni/escape.h
trenni-3.1.1 ext/trenni/escape.h