Unverified Commit 5e39476a authored by Janice Collins's avatar Janice Collins Committed by GitHub

Remove workaround for markup stripping dartdoc bug (#20748)

* Remove workaround for dart-lang/dartdoc#1125

* Update update_icons.dart for optional const and to remove markup stripping workaround
parent 3b309bda
...@@ -216,7 +216,7 @@ String getIconDeclaration(String line) { ...@@ -216,7 +216,7 @@ String getIconDeclaration(String line) {
final String rtl = kMirroredIcons.contains(name) ? ', matchTextDirection: true' : ''; final String rtl = kMirroredIcons.contains(name) ? ', matchTextDirection: true' : '';
return ''' return '''
/// <p><i class="material-icons md-36">$name</i> &#x2014; material icon named "$description".</p> /// <i class="material-icons md-36">$name</i> &#x2014; material icon named "$description".
static const IconData $identifier = const IconData(0x$codepoint, fontFamily: 'MaterialIcons'$rtl); static const IconData $identifier = IconData(0x$codepoint, fontFamily: 'MaterialIcons'$rtl);
'''; ''';
} }
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment