2012-06-20 07:48:12 +00:00
|
|
|
#ifndef __GDOC_H__
|
|
|
|
#define __GDOC_H__
|
|
|
|
|
|
|
|
/* gdoc.h -- clean up html exported by Google Docs
|
|
|
|
|
|
|
|
(c) 2012 (W3C) MIT, ERCIM, Keio University
|
|
|
|
See tidy.h for the copyright notice.
|
|
|
|
|
2012-08-08 16:27:29 +00:00
|
|
|
- strip the script element, as the style sheet is a mess
|
|
|
|
- strip class attributes
|
|
|
|
- strip span elements, leaving their content in place
|
|
|
|
- replace <a name=...></a> by id on parent element
|
|
|
|
- strip empty <p> elements
|
2012-06-20 07:48:12 +00:00
|
|
|
|
|
|
|
*/
|
|
|
|
|
2021-07-10 15:13:58 +00:00
|
|
|
TY_PRIVATE void TY_(CleanGoogleDocument)( TidyDocImpl* doc );
|
2012-06-20 07:48:12 +00:00
|
|
|
|
|
|
|
#endif /* __GDOC_H__ */
|