def paragraph_tag_contents(tag):
  """Returns the contents of a BeautifulSoup tag known to contain long text.
  """
  attrs = tag.attrs
  tag.attrs = {}
  tag_length = len(tag.name)
  result = tag.prettify()[tag_length+4:-tag_length-5]
  tag.attrs = attrs
  return result