title: How to convert strong html elements into span elements iText 7?
body: <p>this is my code but I don't know if it's ok. Help</p>
  <pre>
  public class CustomTagWorker : DefaultTagWorkerFactory
          {
   public override ITagWorker GetCustomTagWorker(IElementNode tag, ProcessorContext context)
              {     
                
                      if (tag.Name().Equals(TagConstants.STRONG, StringComparison.OrdinalIgnoreCase))
                      {
                          
                          return new CustomSpanTagWorker(tag, context);
                          
                      }
                  
  
  
                  return null;
              }
  }
  </pre>
  <pre>
  private class CustomSpanTagWorker : SpanTagWorker
          {
              public CustomSpanTagWorker(IElementNode element, ProcessorContext context) : base(element, context)
              {
              }
  
              public override void ProcessEnd(IElementNode element, ProcessorContext context)
              {
                  base.ProcessEnd(element, context);
                 
                  IList elementResult = GetAllElements();                              
  
                  if (elementResult != null )
                  {
                      foreach (iText.Layout.IPropertyContainer item in elementResult)
                      {
                          
                          base.ProcessEnd(element, context);
                      }
                      
                  }
              }
          }
  </pre>