diff options
| author | Philipp A | 2018-12-02 20:43:34 +0100 | 
|---|---|---|
| committer | Philipp A | 2018-12-02 20:43:34 +0100 | 
| commit | a22f1caf79d947ce860f9a4751c583bc90393069 (patch) | |
| tree | 27a5ccf76deb4c7fe65ea688a13eb319320ffc1e /src/document_tree/extra_attributes.rs | |
| parent | b46de05f56960074edff80d24af48f59f163e293 (diff) | |
| download | rust-rst-a22f1caf79d947ce860f9a4751c583bc90393069.tar.bz2 | |
wonkily add names and so on
Diffstat (limited to 'src/document_tree/extra_attributes.rs')
| -rw-r--r-- | src/document_tree/extra_attributes.rs | 11 | 
1 files changed, 10 insertions, 1 deletions
| diff --git a/src/document_tree/extra_attributes.rs b/src/document_tree/extra_attributes.rs index 0aa40f8..1799e4f 100644 --- a/src/document_tree/extra_attributes.rs +++ b/src/document_tree/extra_attributes.rs @@ -40,8 +40,11 @@ impl_extra!(DoctestBlock { space: FixedSpace });  impl_extra!(SubstitutionDefinition { ltrim: bool, rtrim: bool });  impl_extra!(Comment { space: FixedSpace });  impl_extra!(Target { +	/// External reference to a URI/URL  	refuri: Option<target::Target>, +	/// References to ids attributes in other elements  	refid: Option<ID>, +	/// Internal reference to the names attribute of another element. May resolve to either an internal or external reference.  	refname: Vec<NameToken>,  	anonymous: bool,  }); @@ -71,9 +74,12 @@ impl_extra!(Table {}); //TODO  impl_extra!(OptionArgument { delimiter: Option<String> });  impl_extra!(Reference { -	name: Option<String>, +	name: Option<NameToken>,  //TODO: is CDATA in the DTD, so maybe no nametoken? +	/// External reference to a URI/URL  	refuri: Option<target::Target>, +	/// References to ids attributes in other elements  	refid: Option<ID>, +	/// Internal reference to the names attribute of another element  	refname: Vec<NameToken>,  });  impl_extra!(FootnoteReference { refid: Option<ID>, refname: Vec<NameToken>, auto: bool }); @@ -83,8 +89,11 @@ impl_extra!(Problematic { refid: Option<ID> });  //also have non-inline versions. Inline image is no figure child, inline target has content  impl_extra!(TargetInline { +	/// External reference to a URI/URL  	refuri: Option<target::Target>, +	/// References to ids attributes in other elements  	refid: Option<ID>, +	/// Internal reference to the names attribute of another element. May resolve to either an internal or external reference.  	refname: Vec<NameToken>,  	anonymous: bool,  }); | 
