blob: 5962e3903a66a5c24da2a81afafd1db13d68b15c [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2015 David Green.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* David Green - initial API and implementation
*******************************************************************************/
package org.eclipse.mylyn.wikitext.commonmark.internal.inlines;
import org.eclipse.mylyn.wikitext.commonmark.internal.Line;
import org.eclipse.mylyn.wikitext.parser.DocumentBuilder;
public class HtmlEntity extends InlineWithText {
public HtmlEntity(Line line, int offset, int length, String entity) {
super(line, offset, length, entity);
}
@Override
public void emit(DocumentBuilder builder) {
builder.entityReference(text);
}
}