示例#1
0
        public string Annotate(string text)
        {
            string result = new Annotator(text).Result();

            result = result.Replace("<ruby title=\"", "<ruby onclick=\"annotPopAll(this)\" title=\"");

            return(result);
        }
示例#2
0
        public string annotate(string text)
        {
            string result = new Annotator(text).Result();

            result = result.Replace(@"<ruby title=""", @"<ruby onclick=""annotPopAll(this)"" title=""");

            return(result);
        }
示例#3
0
        public string Annotate(Java.Lang.String text, bool inLink)
        {
            string result = new Annotator((string)text).Result();

            if (!inLink)
            {
                result = result.Replace("<ruby title=\"", "<ruby onclick=\"annotPopAll(this)\" title=\"");
            }
            return(result);
        }