ó
    
û!i  ã                  ó6   • S r SSKJr  SSKJr  SSKJr  SS jrg)zUtilities for generating HTML.é    )Úannotations)ÚElementTree)Ú	sheets_idc                ó’   • [         R                  " SSS[        U 5      S.S9nU(       a  UOSUl        [         R                  " USSS	9$ )
zñReturns a HTML string representing an anchor tag.

This class uses the xml.etree library to handle HTML escaping.

Args:
  url: The Sheets URL to link to.
  text: The text body of the link.

Returns:
  A string representing a HTML fragment.
ÚaÚ_blankÚnoopener)ÚtargetÚrelÚhref)ÚattribÚlinkÚunicodeÚhtml)ÚencodingÚmethod)r   ÚElementÚstrÚtextÚtostring)Úurlr   Útags      Úa/home/james-whalen/.local/lib/python3.13/site-packages/google/generativeai/notebook/html_utils.pyÚget_anchor_tagr      sO   € ô ×
Ò
Øð ð Ü˜“Hñ
ñ
€Cö ‰t €C„HÜ×Ò ¨iÀÑGÐGó    N)r   zsheets_id.SheetsURLr   r   Úreturnr   )Ú__doc__Ú
__future__r   Ú	xml.etreer   Úgoogle.generativeai.notebookr   r   © r   r   Ú<module>r"      s   ðñ %Ý "å !Ý 2õHr   