blob: 7f463efa4ed92d8008a9d1abf4f8fb9bdfda2b74 [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
syntax = "proto2";
message SanitizerConfigProto {
required string html_string = 1;
repeated string allow_elements = 2;
repeated string block_elements = 3;
repeated string drop_elements = 4;
message Elements { repeated string element = 1; }
map<string, Elements> allow_attributes = 5;
map<string, Elements> drop_attributes = 6;
optional bool allow_custom_elements = 7;
optional bool sanitize_to_string = 8;
}