MCPcopy Create free account
hub / github.com/kurtmckee/feedparser / convert_entityref

Method convert_entityref

feedparser/html.py:328–334  ·  view source on GitHub ↗

:type name: str :rtype: str

(name)

Source from the content-addressed store, hash-verified

326
327 @staticmethod
328 def convert_entityref(name):
329 """
330 :type name: str
331 :rtype: str
332 """
333
334 return '&%s;' % name
335
336 def output(self):
337 """Return processed HTML as a single string.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected