Sha256: 333dfb412dbb5d364ee66a6a3830bc60b9cdd962350da4df9220a9ee106a4132

Contents?: true

Size: 663 Bytes

Versions: 25

Compression:

Stored size: 663 Bytes

Contents

#ifndef GUMBO_REPLACEMENT_H_
#define GUMBO_REPLACEMENT_H_

#include <stddef.h>
#include "gumbo.h"

typedef struct {
  const char *const from;
  const char *const to;
} StringReplacement;

const StringReplacement *gumbo_get_svg_tag_replacement (
  const char* str,
  size_t len
);

const StringReplacement *gumbo_get_svg_attr_replacement (
  const char* str,
  size_t len
);

typedef struct {
  const char *const from;
  const char *const local_name;
  const GumboAttributeNamespaceEnum attr_namespace;
} ForeignAttrReplacement;

const ForeignAttrReplacement *gumbo_get_foreign_attr_replacement (
  const char* str,
  size_t len
);

#endif // GUMBO_REPLACEMENT_H_

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
nokogiri-1.13.10 gumbo-parser/src/replacement.h
nokogiri-1.13.9 gumbo-parser/src/replacement.h
nokogiri-1.13.8 gumbo-parser/src/replacement.h
nokogiri-1.13.7 gumbo-parser/src/replacement.h
nokogiri-1.13.6 gumbo-parser/src/replacement.h
nokogiri-1.13.5 gumbo-parser/src/replacement.h
nokogiri-1.13.4 gumbo-parser/src/replacement.h
nokogiri-1.13.3 gumbo-parser/src/replacement.h
nokogiri-1.13.2 gumbo-parser/src/replacement.h
nokogiri-1.13.1 gumbo-parser/src/replacement.h
nokogiri-1.13.0 gumbo-parser/src/replacement.h
nokogiri-1.12.5 gumbo-parser/src/replacement.h
nokogiri-1.12.4 gumbo-parser/src/replacement.h
nokogiri-1.12.3 gumbo-parser/src/replacement.h
nokogiri-1.12.2 gumbo-parser/src/replacement.h
nokogiri-1.12.1 gumbo-parser/src/replacement.h
nokogiri-1.12.0 gumbo-parser/src/replacement.h
nokogiri-1.12.0.rc1 gumbo-parser/src/replacement.h
nokogumbo-2.0.5 gumbo-parser/src/replacement.h
nokogumbo-2.0.4 gumbo-parser/src/replacement.h